mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-28 23:04:34 +08:00
Fix icon name role
The icons were not displaying in the context menu of the settings.
This commit is contained in:
parent
ade2b565bc
commit
8a94042a1f
@ -18,7 +18,7 @@ class SidebarCustomMenuItemsModel(ListModel):
|
||||
self.addRoleName(self.name_role, "name")
|
||||
self.addRoleName(self.actions_role, "actions")
|
||||
self.addRoleName(self.menu_item_role, "menu_item")
|
||||
self.addRoleName(self.menu_item_icon_name_role, "iconName")
|
||||
self.addRoleName(self.menu_item_icon_name_role, "icon_name")
|
||||
self._updateExtensionList()
|
||||
|
||||
def _updateExtensionList(self)-> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user