Merge pull request #19938 from Chaosus/fix_regression
[Regression] Fixed editor bad responsibility after #19244
This commit is contained in:
commit
0bcc46d524
2 changed files with 2 additions and 2 deletions
|
@ -1985,7 +1985,7 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
|
|||
tab_container->add_child(plugin_settings);
|
||||
|
||||
timer = memnew(Timer);
|
||||
timer->set_wait_time(0.1);
|
||||
timer->set_wait_time(1.5);
|
||||
timer->connect("timeout", ProjectSettings::get_singleton(), "save");
|
||||
timer->set_one_shot(true);
|
||||
add_child(timer);
|
||||
|
|
|
@ -493,7 +493,7 @@ EditorSettingsDialog::EditorSettingsDialog() {
|
|||
//get_cancel()->set_text("Close");
|
||||
|
||||
timer = memnew(Timer);
|
||||
timer->set_wait_time(0.1);
|
||||
timer->set_wait_time(1.5);
|
||||
timer->connect("timeout", this, "_settings_save");
|
||||
timer->set_one_shot(true);
|
||||
add_child(timer);
|
||||
|
|
Loading…
Reference in a new issue