diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-12 06:04:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-12 06:05:54 +0300 |
commit | 81ed1d7093dd615b92ea6ef703757205de237ee4 (patch) | |
tree | 395bf5ec9f4502ff584c6f586ae930c3ecdf73db /source/blender/editors/interface | |
parent | 48ad67f4a3bc41954fb3196b5e6923d025d2efc6 (diff) |
UI: don't show shortcuts in toolbar buttons
Restrict these to displaying in tooltips.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index 41df694176a..e608058dd99 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -4303,10 +4303,6 @@ uiLayout *UI_block_layout(uiBlock *block, int dir, int type, int x, int y, int s if (type == UI_LAYOUT_MENU || type == UI_LAYOUT_PIEMENU) layout->space = 0; - if (type == UI_LAYOUT_TOOLBAR) { - block->flag |= UI_BLOCK_SHOW_SHORTCUT_ALWAYS; - } - if (dir == UI_LAYOUT_HORIZONTAL) { layout->h = size; layout->root->emh = em * UI_UNIT_Y; |