mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-07 10:20:33 +02:00
repaint label after color change
This commit is contained in:
1 parent
badfd68aef
commit
3b28027dce
1 file changed
+4
@@ -167,6 +167,10 @@ WMSetLabelTextColor(WMLabel *lPtr, WMColor *color)
|
||||
if (lPtr->textColor)
|
||||
WMReleaseColor(lPtr->textColor);
|
||||
lPtr->textColor = WMRetainColor(color);
|
||||
|
||||
if (lPtr->view->flags.realized) {
|
||||
paintLabel(lPtr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user