2
0
Эх сурвалжийг харах

Merge pull request #2837 from AlexHolly/fix-restart-on-running

fix with refactoring, refresh re-run icon
Juan Linietsky 9 жил өмнө
parent
commit
2b1a482612

+ 1 - 3
tools/editor/editor_node.cpp

@@ -3817,9 +3817,7 @@ void EditorNode::_quick_run(const String& p_resource) {
 
 
 void EditorNode::notify_child_process_exited() {
 void EditorNode::notify_child_process_exited() {
 
 
-	play_button->set_pressed(false);
-	play_scene_button->set_pressed(false);
-	//pause_button->set_pressed(false);
+	_menu_option_confirm(RUN_STOP,false);
 	stop_button->set_pressed(false);
 	stop_button->set_pressed(false);
 	editor_run.stop();
 	editor_run.stop();