When closing the menu of a PrivateActionToolButton with a click on the
button, the checked state of the button would not properly clear. So
instead use the button's toggled signal to handle menu open/close.
Combined with a close policy where the parent is explicitly excluded we
can properly clear the checked state.
Details
Details
- Reviewers
mart ngraham - Group Reviewers
Kirigami - Commits
- R169:7fe5a47ec705: Fix PrivateActionToolButton with menu not clearing checked state properly
Run kirigami2gallery and go to the "multiple columns" page. The menus for
the left/main/right actions should popup and close correctly when using
the buttons to close them or when clicking outside the menu. Without this
change, the menus will behave inconsistently.
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Branch
- fix_actiontoolbutton
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 15656 Build 15674: arc lint + arc unit