From 489979af43a60610da522079c840ba76cff9806c Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 18 Apr 2023 18:36:59 +0200 Subject: [PATCH] Fix Ctrl-PageUp/Down navigation --- src/qml/Page/RoomList/Page.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/Page/RoomList/Page.qml b/src/qml/Page/RoomList/Page.qml index 28ffdfefe..92f73385f 100644 --- a/src/qml/Page/RoomList/Page.qml +++ b/src/qml/Page/RoomList/Page.qml @@ -67,7 +67,7 @@ Kirigami.ScrollablePage { while (index++ !== listView.count - 1) { if (condition(listView.itemAtIndex(index))) { listView.currentIndex = index; - listView.currentItem.action.trigger(); + listView.currentItem.clicked(); return; } } @@ -78,7 +78,7 @@ Kirigami.ScrollablePage { while (index-- !== 0) { if (condition(listView.itemAtIndex(index))) { listView.currentIndex = index; - listView.currentItem.action.trigger(); + listView.currentItem.clicked(); return; } }