Fix T51776: Make sure button icons are updated on Ctrl-ScrollWheel

This commit is contained in:
Jeff Knox 2017-07-27 12:55:17 +02:00 committed by Julian Eisel
parent 920bff5224
commit f1d6bad4b6
Notes: blender-bot 2023-02-14 08:42:54 +01:00
Referenced by issue #51776, UI: Cycling through entries of combo boxes does not refresh entries correctly
1 changed files with 1 additions and 1 deletions

View File

@ -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;