summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDixiE <dixie@theatre-of-a-witch.com>2019-04-23 22:37:02 +0100
committerDixiE <dixie@theatre-of-a-witch.com>2019-04-23 22:37:02 +0100
commitf06b62028ef3ec78611c21776879aae574c06b99 (patch)
tree646eb6f338f11d6cb83442bbcadf640725001dad
parent325f6c6581ab4a22665ca59cd9859b6605a58841 (diff)
Save Layout When Scene Is Closed Via Context Menu
-rw-r--r--editor/editor_node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 477a6b7f73..fe52e7eb7e 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -1974,6 +1974,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
if (scene_idx != -1)
_discard_changes();
+ save_layout();
break;
}