From 47065f0c3e6fb04c621c81835dafd86a13f23278 Mon Sep 17 00:00:00 2001 From: Emmanuel Barroga Date: Tue, 3 Sep 2019 23:41:49 -0700 Subject: [PATCH] Fixes Inspector Showing Unselected Info When deselecting a node, the inspector would show the name of the last thing selected. --- editor/inspector_dock.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editor/inspector_dock.cpp b/editor/inspector_dock.cpp index 8a0812973f7..8ba7d9fba76 100644 --- a/editor/inspector_dock.cpp +++ b/editor/inspector_dock.cpp @@ -408,6 +408,10 @@ void InspectorDock::update(Object *p_object) { warning->hide(); search->set_editable(false); + editor_path->set_text(""); + editor_path->set_tooltip(""); + editor_path->set_icon(NULL); + return; }