summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-08-21 00:12:25 +0200
committerGitHub <noreply@github.com>2018-08-21 00:12:25 +0200
commit5dc2b12efa161ca48d893fc930ff5501ba51e809 (patch)
tree89805a51259a64c50a44ea227d8d7b6611852fe4
parentad8a6b10b51bc6ec133ba370e71c0408f645e6da (diff)
parentce73b56adb6d802b496f41b78f77d4175fc02c82 (diff)
Merge pull request #21241 from dragmz/reset-debugger-reason
Reset reason text when no longer connected
-rw-r--r--editor/script_editor_debugger.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp
index 97147535c0..746e1cd28f 100644
--- a/editor/script_editor_debugger.cpp
+++ b/editor/script_editor_debugger.cpp
@@ -1240,6 +1240,9 @@ void ScriptEditorDebugger::stop() {
if (connection.is_valid()) {
EditorNode::get_log()->add_message("** Debug Process Stopped **");
connection.unref();
+
+ reason->set_text("");
+ reason->set_tooltip("");
}
pending_in_queue = 0;