mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
When on non continous mode and using Up-key to go a page up, put the previous page at the bottom and not at the top
svn path=/trunk/kdegraphics/kpdf/; revision=375288
This commit is contained in:
parent
208b6a5cf3
commit
47db6126c7
|
@ -487,7 +487,10 @@ void PageView::keyPressEvent( QKeyEvent * e )
|
|||
verticalScrollBar()->subtractPage();
|
||||
}
|
||||
else if ( d->vectorIndex > 0 )
|
||||
{
|
||||
d->document->setCurrentPage( d->items[ d->vectorIndex - 1 ]->pageNumber() );
|
||||
verticalScrollBar()->setValue(verticalScrollBar()->maxValue());
|
||||
}
|
||||
break;
|
||||
case Key_Down:
|
||||
case Key_PageDown:
|
||||
|
|
Loading…
Reference in a new issue