Merge pull request #28357 from AnthonyYoManz/issue-28263-save-layout-on-close-scene-with-right-click
Save Layout When Scene Is Closed Via Context Menu
This commit is contained in:
commit
8c948800cd
1 changed files with 1 additions and 0 deletions
|
@ -1974,6 +1974,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
||||||
|
|
||||||
if (scene_idx != -1)
|
if (scene_idx != -1)
|
||||||
_discard_changes();
|
_discard_changes();
|
||||||
|
save_layout();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue