Skip to content

Commit 18a2a25

Browse files
committed
MenuBarItem: use correct color for opened menus
1 parent fc87030 commit 18a2a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

style/adwaitastyle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4848,7 +4848,7 @@ bool Style::drawMenuBarItemControl(const QStyleOption *option, QPainter *painter
48484848
QRect textRect = option->fontMetrics.boundingRect(rect, textFlags, menuItemOption->text);
48494849

48504850
// render text
4851-
const QPalette::ColorRole role = (useStrongFocus && sunken) ? QPalette::Highlight : QPalette::WindowText;
4851+
const QPalette::ColorRole role = (useStrongFocus && sunken) ? QPalette::Link : QPalette::WindowText;
48524852
drawItemText(painter, textRect, textFlags, palette, enabled, menuItemOption->text, role);
48534853

48544854
return true;

0 commit comments

Comments
 (0)