diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-12-02 16:21:22 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-12-02 16:21:22 +0300 |
commit | d56324b254ce689bf1d983696c2d4e4af1ea6604 (patch) | |
tree | 492d388c9a3ad4a23947690d327db09e3ba860d0 /source/blender | |
parent | dd90ffd47b47d89dbd8c9c76556b1a0c182342e4 (diff) |
UI: remove unnecessary colon on toggle array buttons.
Diffstat (limited to 'source/blender')
-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 175f1ff1e2a..ceb5ac10486 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -896,7 +896,7 @@ void uiItemFullR(uiLayout *layout, char *name, int icon, PointerRNA *ptr, Proper if(ELEM4(type, PROP_INT, PROP_FLOAT, PROP_STRING, PROP_POINTER)) name= ui_item_name_add_colon(name, namestr); - else if(type == PROP_BOOLEAN && len) + else if(type == PROP_BOOLEAN && len && index == RNA_NO_INDEX) name= ui_item_name_add_colon(name, namestr); else if(type == PROP_ENUM && index != RNA_ENUM_VALUE) name= ui_item_name_add_colon(name, namestr); |