Fix button regression

This commit is contained in:
Chaosus 2018-07-03 20:33:06 +03:00
parent 24ce1ace13
commit a28494c962
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);