From 135f35e5c768463ad8e858734f61b015b07fe314 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Mon, 8 Apr 2013 23:09:53 -0400 Subject: [PATCH] SetColor and redraw listitems on revert. Fixes #9640 Finally the point of these commits, to fix this bug. --- src/preferences/appearance/APRView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/preferences/appearance/APRView.cpp b/src/preferences/appearance/APRView.cpp index a61626d4f3..2a4a21b8d8 100644 --- a/src/preferences/appearance/APRView.cpp +++ b/src/preferences/appearance/APRView.cpp @@ -276,5 +276,7 @@ APRView::_UpdateAllColors() color_which which = get_color_description(i)->which; rgb_color color = fCurrentSet.GetColor(which); set_ui_color(which, color); + static_cast(fAttrList->ItemAt(i))->SetColor(color); + fAttrList->InvalidateItem(i); } }