Fix button regression
This commit is contained in:
parent
24ce1ace13
commit
a28494c962
|
@ -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 New Issue