2
0
Эх сурвалжийг харах

Merge pull request #21241 from dragmz/reset-debugger-reason

Reset reason text when no longer connected
Rémi Verschelde 7 жил өмнө
parent
commit
5dc2b12efa

+ 3 - 0
editor/script_editor_debugger.cpp

@@ -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;