From ce73b56adb6d802b496f41b78f77d4175fc02c82 Mon Sep 17 00:00:00 2001 From: Marcin Zawiejski Date: Mon, 20 Aug 2018 20:46:14 +0200 Subject: Reset reason text when no longer connected Resets the "Child Process Connected" when the child process is no longer connected. --- editor/script_editor_debugger.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editor/script_editor_debugger.cpp') 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; -- cgit v1.2.3