diff options
author | William Reynish <billrey@me.com> | 2019-08-24 01:45:21 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-08-24 01:45:21 +0300 |
commit | 4c353205ea2d15c3cd314eeeaf60edc04f4c06ad (patch) | |
tree | 23e400bb20f3aafe9d9d642240bdd9e9c81fc034 /source/blender/editors/interface/interface_context_menu.c | |
parent | bf242362f6c363ef0321b2d3200e6eaa50da0225 (diff) |
UI: Various tooltip corrections and fixes
Patch by Yevgeny Makarov (jenkm)
Differential Revision: D5514
Diffstat (limited to 'source/blender/editors/interface/interface_context_menu.c')
-rw-r--r-- | source/blender/editors/interface/interface_context_menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_context_menu.c b/source/blender/editors/interface/interface_context_menu.c index 56d4cab202c..0884a9ea470 100644 --- a/source/blender/editors/interface/interface_context_menu.c +++ b/source/blender/editors/interface/interface_context_menu.c @@ -1222,7 +1222,7 @@ void ui_popup_context_menu_for_panel(bContext *C, ARegion *ar, Panel *pa) sizeof(tmpstr), "%s" UI_SEP_CHAR_S "%s", IFACE_("Pin"), - IFACE_("Shift+Left Mouse")); + IFACE_("Shift Left Mouse")); uiItemR(layout, &ptr, "use_pin", 0, tmpstr, ICON_NONE); /* evil, force shortcut flag */ @@ -1230,6 +1230,7 @@ void ui_popup_context_menu_for_panel(bContext *C, ARegion *ar, Panel *pa) uiBlock *block = uiLayoutGetBlock(layout); uiBut *but = block->buttons.last; but->flag |= UI_BUT_HAS_SEP_CHAR; + but->drawflag |= UI_BUT_HAS_SHORTCUT; } } UI_popup_menu_end(C, pup); |