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

(cherry picked from commit e48c07750f)
This commit is contained in:
Ignacio Etcheverry 2016-04-17 23:12:22 +02:00 committed by Rémi Verschelde
parent ff1d370b9f
commit 6a2efc48c5
1 changed files with 1 additions and 0 deletions

View File

@ -2663,6 +2663,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();