From a28494c962a59e7ce136ec2cf31a386066a39569 Mon Sep 17 00:00:00 2001 From: Chaosus Date: Tue, 3 Jul 2018 20:33:06 +0300 Subject: Fix button regression --- editor/project_settings_editor.cpp | 2 +- editor/settings_config_dialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index cf136a5e58..d867d1b137 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -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); diff --git a/editor/settings_config_dialog.cpp b/editor/settings_config_dialog.cpp index 45041bcf59..ae88b3a035 100644 --- a/editor/settings_config_dialog.cpp +++ b/editor/settings_config_dialog.cpp @@ -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); -- cgit v1.2.3