浏览代码

Fix 'Quit to Project Manager' not stopping the running application

Ignacio Etcheverry 9 年之前
父节点
当前提交
e48c07750f
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;
 				break;
 			}
 			}
 
 
+			_menu_option_confirm(RUN_STOP,true);
 			get_tree()->quit();
 			get_tree()->quit();
 			String exec = OS::get_singleton()->get_executable_path();
 			String exec = OS::get_singleton()->get_executable_path();