tray: fix checkbuttons' clickability in menus

This commit is contained in:
end-4
2025-09-20 09:49:57 +02:00
parent 8b78d05805
commit 074aebbe5d
@@ -72,11 +72,9 @@ RippleButton {
active: root.menuEntry.buttonType === QsMenuButtonType.RadioButton active: root.menuEntry.buttonType === QsMenuButtonType.RadioButton
sourceComponent: StyledRadioButton { sourceComponent: StyledRadioButton {
enabled: false
padding: 0 padding: 0
checked: root.menuEntry.checkState === Qt.Checked checked: root.menuEntry.checkState === Qt.Checked
onCheckedChanged: {
if (checked) root.clicked()
}
} }
} }