Fix use of wrong icon IDs.

This commit is contained in:
Brecht Van Lommel 2018-11-09 11:20:45 +01:00
parent 8bf5af7bd3
commit 0c8cf8fe7f
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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)