diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-11 02:57:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-11 02:57:27 +0400 |
commit | 488e1da935d55330be55eb30b4605b993dd65dbd (patch) | |
tree | d4437d5e74e962482a4a6aa5336212c257f0245e /modules | |
parent | 8012053e1e178c8cabb133e05dc1e36d52908fa7 (diff) |
cleanup
- remove/comment unused variables
- remove unused imports
- fixed some bugs using incorrect variables
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) |