UI: Asset Browser: Add missing icons to menus

Add the usual icons to undo, redo, refresh, and save (catalogs).
This commit is contained in:
Pablo Vazquez 2026-06-08 16:27:33 +02:00
parent 8e88e02d5a
commit ca6084f980

View file

@ -714,7 +714,7 @@ class ASSETBROWSER_MT_library(AssetBrowserMenu, Menu):
def draw(self, _context):
layout = self.layout
layout.operator("asset.library_refresh", text="Refresh")
layout.operator("asset.library_refresh", text="Refresh", icon='FILE_REFRESH')
layout.operator("asset.library_reload_listing", text="Refresh Remote Listing")
@ -724,11 +724,11 @@ class ASSETBROWSER_MT_catalog(AssetBrowserMenu, Menu):
def draw(self, _context):
layout = self.layout
layout.operator("asset.catalog_undo", text="Undo")
layout.operator("asset.catalog_redo", text="Redo")
layout.operator("asset.catalog_undo", text="Undo", icon='LOOP_BACK')
layout.operator("asset.catalog_redo", text="Redo", icon='LOOP_FORWARDS')
layout.separator()
layout.operator("asset.catalogs_save")
layout.operator("asset.catalogs_save", icon='FILE_TICK')
layout.operator("asset.catalog_new").parent_path = ""