mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Fixes Inspector Showing Unselected Info
When deselecting a node, the inspector would show the name of the last thing selected.
This commit is contained in:
parent
75cbcb596a
commit
47065f0c3e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user