Asset Browser: Remove home icon for "All" item
Originally this wasn't really meant to stay there permanently, but helped giving things a nicer alignment. Others seemed to like it at first so it stayed, but after more feedback we decided to remove it again. The alingment is better now with the previous commit. Part of T93582.
This commit is contained in:
@@ -230,8 +230,7 @@ AssetCatalogTreeViewAllItem &AssetCatalogTreeView::add_all_item()
|
||||
{
|
||||
FileAssetSelectParams *params = params_;
|
||||
|
||||
AssetCatalogTreeViewAllItem &item = add_tree_item<AssetCatalogTreeViewAllItem>(IFACE_("All"),
|
||||
ICON_HOME);
|
||||
AssetCatalogTreeViewAllItem &item = add_tree_item<AssetCatalogTreeViewAllItem>(IFACE_("All"));
|
||||
item.set_on_activate_fn([params](ui::BasicTreeViewItem & /*item*/) {
|
||||
params->asset_catalog_visibility = FILE_SHOW_ASSETS_ALL_CATALOGS;
|
||||
WM_main_add_notifier(NC_SPACE | ND_SPACE_ASSET_PARAMS, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user