diff options
author | Julian Eisel <julian@blender.org> | 2021-12-02 21:11:34 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-12-02 21:14:50 +0300 |
commit | fca6a9fe3fc3e92e1ae0fa2b71fada38dc173099 (patch) | |
tree | 3803e738f16dcb52285c71bfcb646bb94ee74373 /source/blender | |
parent | e38532773bedfed2e1a404677a1212132ad8eda2 (diff) |
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.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_file/asset_catalog_tree_view.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/asset_catalog_tree_view.cc b/source/blender/editors/space_file/asset_catalog_tree_view.cc index 7d81693b39d..b8d469dfb65 100644 --- a/source/blender/editors/space_file/asset_catalog_tree_view.cc +++ b/source/blender/editors/space_file/asset_catalog_tree_view.cc @@ -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); |