mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Merge pull request #27979 from Paulb23/remember_script_state
Restore script editor state between sessions
This commit is contained in:
@@ -2523,6 +2523,7 @@ int EditorNode::_next_unsaved_scene(bool p_valid_filename, int p_start) {
|
||||
void EditorNode::_exit_editor() {
|
||||
exiting = true;
|
||||
resource_preview->stop(); //stop early to avoid crashes
|
||||
_save_docks();
|
||||
get_tree()->quit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user