diff options
author | reduz <reduzio@gmail.com> | 2014-04-23 23:21:09 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2014-04-23 23:21:09 -0300 |
commit | 7f78452f35baef771831f042f88885a7b23b52d8 (patch) | |
tree | e2faf920712c5c5728507ad531c9bab3e1e03963 | |
parent | ee730b6c9dde7e9b20aefd23ece9c9c356a56898 (diff) | |
parent | aa84f4d261dabc35f6e3a18c253bf7b948144914 (diff) |
Merge pull request #324 from adolson/close_running_program_on_editor_quit
stops running process when quitting editor
-rw-r--r-- | tools/editor/editor_node.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 4ed565fdc3..f6653ac3d6 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -1982,7 +1982,8 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { confirmation->popup_centered(Size2(300,70)); break; } - + + _menu_option_confirm(RUN_STOP,true); get_scene()->quit(); } break; |