fix(StatusNavigationListItem): make click handler work again (#688)

The click handler used inside the component broke in one of the latest
changes done in `StatusListItem` where it expects two arguments being
passed to its click handler.

This commit fixes it by supplying all needed arguments (where `itemId`
is always `''` unless set differently)
This commit is contained in:
r4bbit.eth 2022-05-24 21:57:59 +02:00 committed by GitHub
parent 81cbab3f66
commit 0b1a910b06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ StatusListItem {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
hoverEnabled: true
onClicked: statusNavigationListItem.clicked(mouse)
onClicked: statusNavigationListItem.clicked(statusNavigationListItem.itemId, mouse)
}
components: [