diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-23 16:00:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-23 16:00:45 +0200 |
commit | a226d63f6815836284f947ccc56b688448381f84 (patch) | |
tree | d9cb81071a5504f39c63aba02804301a319ee15c /editor | |
parent | ed18e3f195a09d1d6b530eee1c6db3183c9d1f42 (diff) | |
parent | f9821a5caf30f7c2d870541950e967048c1cb82f (diff) |
Merge pull request #31975 from codecustard/fixes_subresource_showing_deselection
Fixes Subresource Showing While Unselected
Diffstat (limited to 'editor')
-rw-r--r-- | editor/inspector_dock.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/inspector_dock.cpp b/editor/inspector_dock.cpp index 8ba7d9fba7..e4411e436a 100644 --- a/editor/inspector_dock.cpp +++ b/editor/inspector_dock.cpp @@ -408,6 +408,7 @@ void InspectorDock::update(Object *p_object) { warning->hide(); search->set_editable(false); + editor_path->set_disabled(true); editor_path->set_text(""); editor_path->set_tooltip(""); editor_path->set_icon(NULL); @@ -420,6 +421,7 @@ void InspectorDock::update(Object *p_object) { object_menu->set_disabled(false); search->set_editable(true); + editor_path->set_disabled(false); resource_save_button->set_disabled(!is_resource); PopupMenu *p = object_menu->get_popup(); |