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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-11-06 22:55:12 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-11-06 22:56:38 +0300
commit2b1843c491c8caaaa08956e2edc1c6096c938839 (patch)
tree9c7c03b7d4c0c54189e1590f6594318df951b74c /source/blender/editors/include/UI_interface.h
parent5c18393c8ee9d72e1fe5e8fc6edac569d0a4f13a (diff)
Fix broken shortcuts in F3 'operator search' menu.
From own changes in that area... Now we also enforce handling shortcuts in case relevant drawflag of searchbutton is set. Should allow to cover all cases, hopefully.
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r--source/blender/editors/include/UI_interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index c6f631db48f..d0d2b83f7cc 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -235,7 +235,8 @@ enum {
UI_BUT_ACTIVE_LEFT = (1 << 21), /* Active left part of number button */
UI_BUT_ACTIVE_RIGHT = (1 << 22), /* Active right part of number button */
- UI_BUT_HAS_SHORTCUT = (1 << 23), /* Button has shortcut text */
+ /* (also used by search buttons to enforce shortcut display for their items). */
+ UI_BUT_HAS_SHORTCUT = (1 << 23), /* Button has shortcut text. */
UI_BUT_ICON_REVERSE = (1 << 24), /* Reverse order of consecutive off/on icons */
};