mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Properly warn about the effects of changing an import type, as well as force editor restart. Fixes #23874
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user