Fix Ctrl-PageUp/Down navigation

This commit is contained in:
Carl Schwan
2023-04-18 18:36:59 +02:00
parent e482e12826
commit 489979af43

View File

@@ -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;
}
}