diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ui_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui_utils.py b/modules/ui_utils.py index 1bbb9ef2..15a71a6e 100644 --- a/modules/ui_utils.py +++ b/modules/ui_utils.py @@ -30,7 +30,7 @@ class GUI: def drawIconButton(cls, enabled, layout, iconName, operator, frame=True): col = layout.column() col.enabled = enabled - bt = col.operator(operator, + col.operator(operator, text='', icon=iconName, emboss=frame) @@ -39,7 +39,7 @@ class GUI: def drawTextButton(cls, enabled, layout, text, operator, frame=True): col = layout.column() col.enabled = enabled - bt = col.operator(operator, + col.operator(operator, text=text, emboss=frame) |