Skip to content

SystemTray/ExpandedRepresentation: Fix icon and checked state of the primary action button

This MR fixes two issues related to the primary action button:

  • the icon of the associated action isn't displayed
  • if the associated action is checkable (checkable is set to true), clicking on this button toggles this action twice (checked > unchecked > checked)

Primary action button is a tool button that is displayed for a contextual action with the priority set to PlasmaCore.Action.HighPriority (this action is always placed separately from the hamburger menu).

Edited by Eugene Popov

Merge request reports

Loading