summaryrefslogtreecommitdiffstats
path: root/tools/editor/script_editor_debugger.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-10-03 11:36:01 +0200
committerGitHub <noreply@github.com>2016-10-03 11:36:01 +0200
commit90f4e76a463713826b81a768444ce318dcdb3aa0 (patch)
treede75c67730505a1f69a5cc885cc136fd7c0a505b /tools/editor/script_editor_debugger.cpp
parentcf4693cf18ec6ccdd3ccb4e416d3520efbf26010 (diff)
parent66dac878ac9fc278044281b7f67fbed668e4523d (diff)
downloadredot-engine-90f4e76a463713826b81a768444ce318dcdb3aa0.tar.gz
Merge pull request #6479 from RandomShaper/improve-debug-focus
Improve debug focus behavior
Diffstat (limited to 'tools/editor/script_editor_debugger.cpp')
-rw-r--r--tools/editor/script_editor_debugger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp
index 7fba73ca08..c8170ca9a3 100644
--- a/tools/editor/script_editor_debugger.cpp
+++ b/tools/editor/script_editor_debugger.cpp
@@ -216,6 +216,8 @@ void ScriptEditorDebugger::debug_continue() {
ERR_FAIL_COND(connection.is_null());
ERR_FAIL_COND(!connection->is_connected());
+ OS::get_singleton()->enable_for_stealing_focus(EditorNode::get_singleton()->get_child_process_id());
+
Array msg;
msg.push_back("continue");
ppeer->put_var(msg);