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
path: root/source
diff options
context:
space:
mode:
authorJeff Knox <jd.knox@gmail.com>2017-07-27 13:55:17 +0300
committerJulian Eisel <eiseljulian@gmail.com>2017-07-27 13:55:17 +0300
commitf1d6bad4b6f9f6ae429687f12ae67a175e9c183a (patch)
tree82a3b55c4aa497e499d2e2a9242a45d577e68484 /source
parent920bff522483cf90a3963a69a2ef967bf0e94b43 (diff)
Fix T51776: Make sure button icons are updated on Ctrl-ScrollWheel
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 8ea5094998b..0dc7c6ccbec 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -684,7 +684,7 @@ static bool ui_but_update_from_old_block(const bContext *C, uiBlock *block, uiBu
if (oldbut->active) {
/* flags from the buttons we want to refresh, may want to add more here... */
- const int flag_copy = UI_BUT_REDALERT;
+ const int flag_copy = UI_BUT_REDALERT | UI_HAS_ICON;
found_active = true;