diff options
Diffstat (limited to 'src/controls')
-rw-r--r-- | src/controls/Styles/Base/MenuBarStyle.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/Styles/Base/MenuBarStyle.qml b/src/controls/Styles/Base/MenuBarStyle.qml index e5823a14..7add8f09 100644 --- a/src/controls/Styles/Base/MenuBarStyle.qml +++ b/src/controls/Styles/Base/MenuBarStyle.qml @@ -100,7 +100,7 @@ Style { property Component itemDelegate: Rectangle { implicitWidth: text.width + 12 implicitHeight: text.height + 4 - color: styleData.open ? "#49d" : "transparent" + color: styleData.enabled && styleData.open ? "#49d" : "transparent" Text { id: text @@ -108,7 +108,7 @@ Style { text: formatMnemonic(styleData.text, styleData.underlineMnemonic) anchors.centerIn: parent renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - color: styleData.open ? "white" : SystemPaletteSingleton.windowText(control.enabled) + color: styleData.open ? "white" : SystemPaletteSingleton.windowText(control.enabled && styleData.enabled) } } |