diff options
author | Julian Eisel <julian@blender.org> | 2020-10-03 20:01:12 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-10-03 20:01:12 +0300 |
commit | 05bf109b52a6e22f69c213b29ba526e7c103e897 (patch) | |
tree | adf88e52c860e9310dadf4e6a47a68213b9d66d3 /source/blender/editors/interface | |
parent | 27bcbf19ed1148915644139e69ebe62de7497645 (diff) |
Fix error in previous commit...
Diffstat (limited to 'source/blender/editors/interface')
-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 605930c6111..d0621051023 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -939,7 +939,7 @@ static uiBut *ui_item_with_label(uiLayout *layout, #endif const bool is_keymapitem_ptr = RNA_struct_is_a(ptr->type, &RNA_KeyMapItem); - if ((flag & flag & UI_ITEM_R_FULL_EVENT) && is_keymapitem_ptr) { + if ((flag & flag & UI_ITEM_R_FULL_EVENT) && !is_keymapitem_ptr) { RNA_warning("Data is not a keymap item struct: %s. Ignoring 'full_event' option.", RNA_struct_identifier(ptr->type)); } |