mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 10:31:15 +00:00
Reset reason text when no longer connected
Resets the "Child Process Connected" when the child process is no longer connected.
This commit is contained in:
parent
c1bd768ca2
commit
ce73b56adb
1 changed files with 3 additions and 0 deletions
|
|
@ -1240,6 +1240,9 @@ void ScriptEditorDebugger::stop() {
|
||||||
if (connection.is_valid()) {
|
if (connection.is_valid()) {
|
||||||
EditorNode::get_log()->add_message("** Debug Process Stopped **");
|
EditorNode::get_log()->add_message("** Debug Process Stopped **");
|
||||||
connection.unref();
|
connection.unref();
|
||||||
|
|
||||||
|
reason->set_text("");
|
||||||
|
reason->set_tooltip("");
|
||||||
}
|
}
|
||||||
|
|
||||||
pending_in_queue = 0;
|
pending_in_queue = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue