SetColor and redraw listitems on revert. Fixes #9640
Finally the point of these commits, to fix this bug.
This commit is contained in:
@@ -276,5 +276,7 @@ APRView::_UpdateAllColors()
|
|||||||
color_which which = get_color_description(i)->which;
|
color_which which = get_color_description(i)->which;
|
||||||
rgb_color color = fCurrentSet.GetColor(which);
|
rgb_color color = fCurrentSet.GetColor(which);
|
||||||
set_ui_color(which, color);
|
set_ui_color(which, color);
|
||||||
|
static_cast<ColorWhichItem*>(fAttrList->ItemAt(i))->SetColor(color);
|
||||||
|
fAttrList->InvalidateItem(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user