diff options
author | Emmanuel Barroga <emmanuelbarroga@gmail.com> | 2019-09-03 23:41:49 -0700 |
---|---|---|
committer | Emmanuel Barroga <emmanuelbarroga@gmail.com> | 2019-09-03 23:41:49 -0700 |
commit | 47065f0c3e6fb04c621c81835dafd86a13f23278 (patch) | |
tree | 62d5552f80d60b63acedec078a7022436924939b | |
parent | 75cbcb596a2ffc2a289fe1319292d1eb9a788732 (diff) |
Fixes Inspector Showing Unselected Info
When deselecting a node, the inspector would show the name of the last thing selected.
-rw-r--r-- | editor/inspector_dock.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/inspector_dock.cpp b/editor/inspector_dock.cpp index 8a0812973f..8ba7d9fba7 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; } |