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:
parent
81cbab3f66
commit
0b1a910b06
|
@ -32,7 +32,7 @@ StatusListItem {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
onClicked: statusNavigationListItem.clicked(mouse)
|
onClicked: statusNavigationListItem.clicked(statusNavigationListItem.itemId, mouse)
|
||||||
}
|
}
|
||||||
|
|
||||||
components: [
|
components: [
|
||||||
|
|
Loading…
Reference in New Issue