BMenuField: fixed broken view color.
* Apparently, I only tested the other case :-) * This fixes bug #9433.
This commit is contained in:
parent
fdff8a09a1
commit
43ee85f69c
@ -413,7 +413,7 @@ BMenuField::AttachedToWindow()
|
||||
BView* parent = Parent();
|
||||
if (parent != NULL) {
|
||||
// inherit the color from parent
|
||||
rgb_color color = parent->ViewColor();
|
||||
color = parent->ViewColor();
|
||||
if (color == B_TRANSPARENT_COLOR)
|
||||
color = ui_color(B_PANEL_BACKGROUND_COLOR);
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user