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 Michał Cieślak
parent 290d5cbebc
commit fff2682a9c
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: [