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

This commit is contained in:
2017-07-27 12:55:17 +02:00
committed by Julian Eisel
parent 920bff5224
commit f1d6bad4b6

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;