Properly warn about the effects of changing an import type, as well as force editor restart. Fixes #23874

This commit is contained in:
Juan Linietsky 2019-01-25 17:23:56 -03:00
parent 6d4d55cd42
commit 5bd3f72878
6 changed files with 90 additions and 8 deletions

View file

@ -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() {