Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-06-25 16:26:49 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-06-25 16:26:49 +0400
commit9ae8e4ca1ab491c0896e2deb40d6fd4a83b1fb32 (patch)
tree0558389337c4e1ef16fdc4a4ecfa79d57d16d442 /source/blender/editors/interface/interface_layout.c
parent64968e3618892ebac419149fa8c4198151a4e29a (diff)
Fix #35715: graph editor > channels > move.. menu item showed wrong keyboard shortcut.
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r--source/blender/editors/interface/interface_layout.c2
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 ef839f1d143..7c32f354c0a 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -1749,7 +1749,7 @@ void uiItemMenuEnumO(uiLayout *layout, bContext *C, const char *opname, const ch
/* add hotkey here, lower UI code can't detect it */
if (layout->root->block->flag & UI_BLOCK_LOOP) {
- if (ot->prop &&
+ if (ot->prop && ot->invoke &&
WM_key_event_operator_string(C, ot->idname, layout->root->opcontext, NULL, false, keybuf, sizeof(keybuf)))
{
namestr += BLI_snprintf(namestr, sizeof(namestr_buf) - (namestr - namestr_buf), "|%s", keybuf);