fix(StatusNavBarTabButton): don't change checked state implicitly

This commit is contained in:
Pascal Precht 2021-05-27 18:56:53 +02:00 committed by Michał Cieślak
parent 39f8eae65b
commit 3784845366
1 changed files with 1 additions and 4 deletions

View File

@ -38,10 +38,7 @@ StatusIconTabButton {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: function (mouse) {
statusNavBarTabButton.checked = !statusNavBarTabButton.checked
statusNavBarTabButton.clicked(mouse)
}
onClicked: statusNavBarTabButton.clicked(mouse)
}
}