Commit 47db6126 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

When on non continous mode and using Up-key to go a page up, put the previous...

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
parent 208b6a5c
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment