Fix error clearing the popup toolbar keymap
Generating the keymap for the tooltip stopped shortcuts from running. While this could be supported - the shortcuts show in the button, so remove shortcuts from these tips.
This commit is contained in:
@@ -449,7 +449,7 @@ static uiTooltipData *ui_tooltip_data_from_tool(bContext *C, uiBut *but, bool is
|
||||
}
|
||||
|
||||
/* Shortcut. */
|
||||
if (is_label == false) {
|
||||
if (is_label == false && ((but->block->flag & UI_BLOCK_SHOW_SHORTCUT_ALWAYS) == 0)) {
|
||||
/* There are different kinds of shortcuts:
|
||||
*
|
||||
* - Direct access to the tool (as if the toolbar button is pressed).
|
||||
|
||||
Reference in New Issue
Block a user