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

@@ -1606,7 +1606,8 @@ TabContainer *ProjectSettingsEditor::get_tabs() {
}
void ProjectSettingsEditor::_editor_restart() {
EditorNode::get_singleton()->save_all_scenes_and_restart();
EditorNode::get_singleton()->save_all_scenes();
EditorNode::get_singleton()->restart_editor();
}
void ProjectSettingsEditor::_editor_restart_request() {