summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <tsdgeos@terra.es>2012-04-18 18:13:57 (GMT)
committerAlbert Astals Cid <tsdgeos@terra.es>2012-04-18 18:13:57 (GMT)
commit25f27760905b0266303bbbffabd5e241873f62f6 (patch)
tree4dcce86cf38b54e6f14fa3ff0d87eae228af67d3
parent5482696067e642519d92e02bbfe4cd29ecf39e77 (diff)
Make sure we enable rePos before call setViewport
BUGS: 298362 FIXED-IN: 4.8.3
-rw-r--r--ui/thumbnaillist.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/thumbnaillist.cpp b/ui/thumbnaillist.cpp
index ebaef9c..0511d93 100644
--- a/ui/thumbnaillist.cpp
+++ b/ui/thumbnaillist.cpp
@@ -483,6 +483,7 @@ ThumbnailListPrivate::ChangePageDirection ThumbnailListPrivate::forwardTrack(con
return ThumbnailListPrivate::Right;
if ( vp.rePos.normalizedX < 0.0 )
return ThumbnailListPrivate::Left;
+ vp.rePos.enabled = true;
m_document->setViewport( vp );
return ThumbnailListPrivate::Null;
}