From e637e2ed519cb2dfe523981b2d6dc34a9855716c Mon Sep 17 00:00:00 2001 From: Kishore Gopalakrishnan Date: Sun, 9 Aug 2020 12:07:10 +0530 Subject: [PATCH] Remove if statement that disables pgup/dn key handling while scrolling. IDK why it's there, but this seems to fix bug 422050 --- ui/pageview.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ui/pageview.cpp b/ui/pageview.cpp index 9c5bdd710..4277f374b 100644 --- a/ui/pageview.cpp +++ b/ui/pageview.cpp @@ -4734,9 +4734,6 @@ void PageView::slotAutoScrollDown() void PageView::slotScrollUp(int nSteps) { - if (d->scroller->state() == QScroller::Scrolling) - return; - // if in single page mode and at the top of the screen, go to \ page if (Okular::Settings::viewContinuous() || verticalScrollBar()->value() > verticalScrollBar()->minimum()) { if (nSteps) { @@ -4759,9 +4756,6 @@ void PageView::slotScrollUp(int nSteps) void PageView::slotScrollDown(int nSteps) { - if (d->scroller->state() == QScroller::Scrolling) - return; - // if in single page mode and at the bottom of the screen, go to next page if (Okular::Settings::viewContinuous() || verticalScrollBar()->value() < verticalScrollBar()->maximum()) { if (nSteps) {