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