Fix 'Quit to Project Manager' not stopping the running application
This commit is contained in:
parent
c04b3edac4
commit
e48c07750f
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue