diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-26 09:18:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-26 09:18:41 +0300 |
commit | 4afbbb8cf9d8e2a14cf592e3e1669b39f0fc33b4 (patch) | |
tree | 88b9d37fc3eb55bfac162b3a93b2fec2860d305e | |
parent | f7d9db5e687fac3df9bdab0c478f86ea723bf9d7 (diff) |
UI: correct toolbar w/ text display
Missed in tuple to dict refactor.
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_common.py b/release/scripts/startup/bl_ui/space_toolsystem_common.py index b3a4ce976f1..c2c300140de 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_common.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_common.py @@ -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, ) |