Skip to content
Commit 6e086d2b authored by Arjen Hiemstra's avatar Arjen Hiemstra
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
parent 40d0759e
Pipeline #325216 failed with stage
in 3 minutes and 2 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