changes from main

This commit is contained in:
end-4
2026-02-20 22:56:59 +01:00
parent 98a766608d
commit 485c40406d
@@ -95,6 +95,25 @@ Item { // Wrapper
root.focusFirstItem();
}
}
// Ctrl+N / Ctrl+P navigation
if (event.modifiers & Qt.ControlModifier) {
if (event.key === Qt.Key_N) {
if (appResults.visible && appResults.count > 0) {
// Wrap around the list rather than the default arrow key behaviour
appResults.currentIndex = (appResults.currentIndex + 1) % appResults.count;
event.accepted = true;
return;
}
} else if (event.key === Qt.Key_P) {
if (appResults.visible && appResults.count > 0) {
// Wrap around too
appResults.currentIndex = (appResults.count + appResults.currentIndex - 1) % appResults.count;
event.accepted = true;
return;
}
}
}
}
StyledRectangularShadow {