Skip to content
Commit a9116045 authored by Arjen Hiemstra's avatar Arjen Hiemstra Committed by Nate Graham
Browse files

sidebar: Use a proper checked state for the menu button

We don't generally override down for setting the pressed state of menu
buttons, instead we use the checked state, which is subtly different
visually.

Moreover, using onPressed here causes a weird behaviour where any
subsequent press after clicking the "highlight changed settings" menu
item will re-open the menu on wayland, probably caused by the same
source as https://bugs.kde.org/show_bug.cgi?id=464855 . Using onToggled
instead will prevent this.

BUG: 464536


(cherry picked from commit 6e086d2b)
parent dbf7d888
Pipeline #325217 failed with stage
in 1 minute and 41 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment