You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Save editor settings when modified from code
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<description>
|
||||
Object that holds the project-independent editor settings. These settings are generally visible in the [b]Editor > Editor Settings[/b] menu.
|
||||
Property names use slash delimiters to distinguish sections. Setting values can be of any [Variant] type. It's recommended to use [code]snake_case[/code] for editor settings to be consistent with the Godot editor itself.
|
||||
Editor settings are saved automatically when changed.
|
||||
Accessing the settings can be done using the following methods, such as:
|
||||
[codeblocks]
|
||||
[gdscript]
|
||||
|
||||
@@ -62,9 +62,7 @@ void EditorSettingsDialog::ok_pressed() {
|
||||
}
|
||||
|
||||
void EditorSettingsDialog::_settings_changed() {
|
||||
if (is_visible()) {
|
||||
timer->start();
|
||||
}
|
||||
timer->start();
|
||||
}
|
||||
|
||||
void EditorSettingsDialog::_settings_property_edited(const String &p_name) {
|
||||
|
||||
Reference in New Issue
Block a user