Asset Browser: Always show icon to add catalog next to "All" item

Feedback was that it's unclear sometimes how to add a new item and that some
people expect a button to add a new item next to the "All" item.
This commit is contained in:
Julian Eisel 2021-10-06 14:50:15 +02:00
parent 12c66854bd
commit 2012d541ae
1 changed files with 0 additions and 4 deletions

View File

@ -339,10 +339,6 @@ void AssetCatalogTreeViewAllItem::build_row(uiLayout &row)
{
ui::BasicTreeViewItem::build_row(row);
if (!is_active()) {
return;
}
PointerRNA *props;
props = UI_but_extra_operator_icon_add(
button(), "ASSET_OT_catalog_new", WM_OP_INVOKE_DEFAULT, ICON_ADD);