Browse Source

Merge pull request #4359 from neikeq/pr-issue-4351

Fix 'Quit to Project Manager' not stopping the running application
Rémi Verschelde 9 years ago
parent
commit
3348dea78b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/editor/editor_node.cpp

+ 1 - 0
tools/editor/editor_node.cpp

@@ -2672,6 +2672,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
 				break;
 			}
 
+			_menu_option_confirm(RUN_STOP,true);
 			get_tree()->quit();
 			String exec = OS::get_singleton()->get_executable_path();