summaryrefslogtreecommitdiff
path: root/editor/settings_config_dialog.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-01-25 17:23:56 -0300
committerJuan Linietsky <reduzio@gmail.com>2019-01-25 17:23:56 -0300
commit5bd3f72878e5693c775f580e851ed0211ad20ac7 (patch)
treeaeef755b299195edebb4b0516c58acef1d58dabc /editor/settings_config_dialog.cpp
parent6d4d55cd42ec027767a551414925e67685a3be04 (diff)
Properly warn about the effects of changing an import type, as well as force editor restart. Fixes #23874
Diffstat (limited to 'editor/settings_config_dialog.cpp')
-rw-r--r--editor/settings_config_dialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/settings_config_dialog.cpp b/editor/settings_config_dialog.cpp
index e4d5573a9a..ecd35cb930 100644
--- a/editor/settings_config_dialog.cpp
+++ b/editor/settings_config_dialog.cpp
@@ -375,7 +375,8 @@ void EditorSettingsDialog::_focus_current_search_box() {
}
void EditorSettingsDialog::_editor_restart() {
- EditorNode::get_singleton()->save_all_scenes_and_restart();
+ EditorNode::get_singleton()->save_all_scenes();
+ EditorNode::get_singleton()->restart_editor();
}
void EditorSettingsDialog::_editor_restart_request() {