浏览代码

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();