Skip to content

Commit

Permalink
Fix button regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaosus authored and malcolmhoward committed Jul 31, 2018
1 parent 4efce97 commit 42b2743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion editor/project_settings_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,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);
Expand Down
2 changes: 1 addition & 1 deletion editor/settings_config_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 42b2743

Please sign in to comment.