mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Save editor settings when modified from code
This commit is contained in:
parent
7864ac8019
commit
199a4fa4e2
2 changed files with 2 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue