diff options
author | Marcin Zawiejski <dragmz@gmail.com> | 2018-08-20 20:46:14 +0200 |
---|---|---|
committer | Marcin Zawiejski <dragmz@gmail.com> | 2018-08-20 20:46:14 +0200 |
commit | ce73b56adb6d802b496f41b78f77d4175fc02c82 (patch) | |
tree | a7c4faced078262971ab38d19cc7f11da5959407 /editor | |
parent | c1bd768ca2d5fcd7c505b1af5e4de753799a3476 (diff) |
Reset reason text when no longer connected
Resets the "Child Process Connected" when the child process is no longer
connected.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/script_editor_debugger.cpp | 3 |
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; |