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:
Rémi Verschelde 2019-04-25 13:34:54 +02:00 committed by GitHub
commit 8c948800cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1974,6 +1974,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
if (scene_idx != -1)
_discard_changes();
save_layout();
break;
}