diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-07-18 00:54:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-18 00:54:32 +0200 |
commit | d6f2e41e6f6ed2de6afd8d1e08085e732383b9cb (patch) | |
tree | 2aa5b9885a0147aff3fd12cf6d8d425e0efe7849 /tools | |
parent | 4958963abe5b76c613f25f8749c270988bdcccc3 (diff) | |
parent | f20680947bde28dfc10fcee4fc7c2949b111a40a (diff) |
Merge pull request #5750 from TheHX/issue-5681
Keep debugger selected tab open when pressing the pause button
Diffstat (limited to 'tools')
-rw-r--r-- | tools/editor/script_editor_debugger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp index fc746bc21d..b6390e5aae 100644 --- a/tools/editor/script_editor_debugger.cpp +++ b/tools/editor/script_editor_debugger.cpp @@ -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); |