summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2016-04-17 23:12:22 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2016-04-17 23:13:45 +0200
commite48c07750f0f0f5a4570546152360275b9af1866 (patch)
tree5cafa756ffdd517e5ffd0b6b8da535de5c7223cf
parentc04b3edac4fb1f99f7a58bb3b634954666db47e6 (diff)
Fix 'Quit to Project Manager' not stopping the running application
-rw-r--r--tools/editor/editor_node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index aa47e97622..316485f42a 100644
--- a/tools/editor/editor_node.cpp
+++ b/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();