Merge pull request #5750 from TheHX/issue-5681

Keep debugger selected tab open when pressing the pause button
This commit is contained in:
Rémi Verschelde 2016-07-18 00:54:32 +02:00 committed by GitHub
commit d6f2e41e6f

View file

@ -338,8 +338,9 @@ void ScriptEditorDebugger::_parse_message(const String& p_msg,const Array& p_dat
docontinue->set_disabled(false);
emit_signal("breaked",true,can_continue);
OS::get_singleton()->move_window_to_foreground();
if (!profiler->is_seeking())
if (error!="") {
tabs->set_current_tab(0);
}
profiler->set_enabled(false);