diff options
author | Matt Ebb <matt@mke3.net> | 2009-09-14 15:25:33 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-09-14 15:25:33 +0400 |
commit | d0aa03737eff52b1c54644cb5e9d3d68daa2986c (patch) | |
tree | 61df9f3d2f2e7d66e3e7ca8be0906bf184b19ce7 | |
parent | e838af4d57ea1f0eef4fd62bfb0a8d6e320c72e0 (diff) |
* Fix for typo in icon_only commit, causing RNA property buttons text to be doubled up
brecht: I think this is right now...? :)
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index 6211c79beca..242ba31ccd4 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -506,7 +506,7 @@ static uiBut *ui_item_with_label(uiLayout *layout, uiBlock *block, char *name, i but= uiDefIconButO(block, BUT, "BUTTONS_OT_file_browse", WM_OP_INVOKE_DEFAULT, ICON_FILESEL, x, y, UI_UNIT_X, h, "Browse for file or directory."); } else - but= uiDefAutoButR(block, ptr, prop, index, (icon_only)? "": NULL, icon, x, y, w, h); + but= uiDefAutoButR(block, ptr, prop, index, (!icon_only)? "": NULL, icon, x, y, w, h); uiBlockSetCurLayout(block, layout); return but; |