Fix use of wrong icon IDs.
This commit is contained in:
parent
8bf5af7bd3
commit
0c8cf8fe7f
|
@ -626,7 +626,7 @@ class TOPBAR_MT_file_new(Menu):
|
|||
if show_more:
|
||||
paths = paths[:splash_limit - 2]
|
||||
elif use_more:
|
||||
icon = 'FILE'
|
||||
icon = 'FILE_NEW'
|
||||
paths = paths[splash_limit - 2:]
|
||||
show_more = False
|
||||
else:
|
||||
|
|
|
@ -4023,7 +4023,7 @@ class VIEW3D_PT_object_type_visibility(Panel):
|
|||
attr_v = "show_object_viewport_" f"{attr:s}"
|
||||
attr_s = "show_object_select_" f"{attr:s}"
|
||||
|
||||
icon_v = 'VISIBLE_IPO_ON' if getattr(view, attr_v) else 'VISIBLE_IPO_OFF'
|
||||
icon_v = 'HIDE_OFF' if getattr(view, attr_v) else 'HIDE_ON'
|
||||
icon_s = 'RESTRICT_SELECT_OFF' if getattr(view, attr_s) else 'RESTRICT_SELECT_ON'
|
||||
|
||||
row = col.row(align=True)
|
||||
|
|
Loading…
Reference in New Issue