diff options
author | Chaosus <chaosus89@gmail.com> | 2018-07-03 20:33:06 +0300 |
---|---|---|
committer | Chaosus <chaosus89@gmail.com> | 2018-07-03 20:44:18 +0300 |
commit | a28494c962a59e7ce136ec2cf31a386066a39569 (patch) | |
tree | 5118e870209619afce9e8cc4502cecdd2ce44183 | |
parent | 24ce1ace1309f7379169f7f17929bd59f85485b6 (diff) |
Fix button regression
-rw-r--r-- | editor/project_settings_editor.cpp | 2 | ||||
-rw-r--r-- | 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); |