diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-12 18:20:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-12 18:20:12 +0300 |
commit | e8dd4cd9cabb76f00838a975627c571a4fccdb18 (patch) | |
tree | b25df215d8c834bd92e1b5aa061ded1f8b3f69b3 /source/blender/editors/interface/interface_templates.c | |
parent | 2af7c38682d6d4fd87bd175dd90e40f15591ec5c (diff) |
Cleanup: warning, spaces
Diffstat (limited to 'source/blender/editors/interface/interface_templates.c')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 45069ada92f..70b591d3a69 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -2266,7 +2266,7 @@ void uiTemplateIconView(uiLayout *layout, PointerRNA *ptr, const char *propname, value = RNA_property_enum_get(ptr, prop); RNA_enum_icon_from_value(items, value, &icon); - + if (RNA_property_editable(ptr, prop)) { cb_args = MEM_callocN(sizeof(IconViewMenuArgs), __func__); cb_args->ptr = *ptr; |