forked from Shinonome/dots-hyprland
tray: fix checkbuttons' clickability in menus
This commit is contained in:
@@ -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()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user