diff --git a/qml/FullscreenFrame.qml b/qml/FullscreenFrame.qml index 891e3e04..37062cc9 100644 --- a/qml/FullscreenFrame.qml +++ b/qml/FullscreenFrame.qml @@ -86,11 +86,15 @@ Control { } if (toPage < 0) { flipPageDelay.start() - baseLayer.focus = true // reset keyboard focus when using mouse to flip page + if (!searchEdit.focus) { // reset keyboard focus when using mouse to flip page, but keep searchEdit focus + baseLayer.focus = true + } pages.decrementCurrentIndex() } else if (toPage > 0) { flipPageDelay.start() - baseLayer.focus = true // reset keyboard focus when using mouse to flip page + if (!searchEdit.focus) { // reset keyboard focus when using mouse to flip page, but keep searchEdit focus + baseLayer.focus = true + } pages.incrementCurrentIndex() } }