Skip to content

Commit

Permalink
Reset reason text when no longer connected
Browse files Browse the repository at this point in the history
Resets the "Child Process Connected" when the child process is no longer
connected.
  • Loading branch information
dragmz committed Aug 20, 2018
1 parent c1bd768 commit ce73b56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor/script_editor_debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce73b56

Please sign in to comment.