Fix T46186: Panel doesn't update on brush change

This commit is contained in:
Campbell Barton 2015-09-21 10:32:14 +10:00
parent 5031dbcee5
commit 034cc855f0

@ -919,7 +919,8 @@ static void image_tools_area_listener(bScreen *UNUSED(sc), ScrArea *UNUSED(sa),
ED_region_tag_redraw(ar);
break;
case NC_BRUSH:
if (wmn->action == NA_EDITED)
/* NA_SELECTED is used on brush changes */
if (ELEM(wmn->action, NA_EDITED, NA_SELECTED))
ED_region_tag_redraw(ar);
break;
case NC_SCENE: