You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Merge pull request #31978 from YeldhamDev/inspector_dock_small_improvements
Small improvements to the inspector dock
This commit is contained in:
@@ -74,7 +74,12 @@ void EditorPath::_about_to_show() {
|
||||
objects.clear();
|
||||
get_popup()->clear();
|
||||
get_popup()->set_size(Size2(get_size().width, 1));
|
||||
|
||||
_add_children_to_popup(obj);
|
||||
if (get_popup()->get_item_count() == 0) {
|
||||
get_popup()->add_item(TTR("No sub-resources found."));
|
||||
get_popup()->set_item_disabled(0, true);
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPath::update_path() {
|
||||
|
||||
Reference in New Issue
Block a user