소스 검색

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

fix with refactoring, refresh re-run icon
Juan Linietsky 9 년 전
부모
커밋
2b1a482612
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      tools/editor/editor_node.cpp

+ 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() {
 
-	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);
 	editor_run.stop();