UI: correct toolbar w/ text display

Missed in tuple to dict refactor.
This commit is contained in:
Campbell Barton 2018-04-26 08:18:41 +02:00
parent f7d9db5e68
commit 4afbbb8cf9
1 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ class ToolSelectPanelHelper:
if use_menu:
props = col.operator_menu_hold(
"wm.tool_set",
text=item[0] if show_text else "",
text=item["text"] if show_text else "",
depress=is_active,
menu="WM_MT_toolsystem_submenu",
icon_value=icon_value,
@ -263,7 +263,7 @@ class ToolSelectPanelHelper:
else:
props = col.operator(
"wm.tool_set",
text=item[0] if show_text else "",
text=item["text"] if show_text else "",
depress=is_active,
icon_value=icon_value,
)