From 0b1a910b062412e4ee00900d03d8ac3a0508cad9 Mon Sep 17 00:00:00 2001 From: "r4bbit.eth" <445106+PascalPrecht@users.noreply.github.com> Date: Tue, 24 May 2022 21:57:59 +0200 Subject: [PATCH] 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) --- src/StatusQ/Components/StatusNavigationListItem.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StatusQ/Components/StatusNavigationListItem.qml b/src/StatusQ/Components/StatusNavigationListItem.qml index e93f1f57..f05653d5 100644 --- a/src/StatusQ/Components/StatusNavigationListItem.qml +++ b/src/StatusQ/Components/StatusNavigationListItem.qml @@ -32,7 +32,7 @@ StatusListItem { anchors.fill: parent cursorShape: Qt.PointingHandCursor hoverEnabled: true - onClicked: statusNavigationListItem.clicked(mouse) + onClicked: statusNavigationListItem.clicked(statusNavigationListItem.itemId, mouse) } components: [