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 Pascal Precht
parent d690a0c505
commit b1fe73baa0
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)
}
}