diff --git a/ui/pageview.cpp b/ui/pageview.cpp index 982579965..6c57be5f8 100644 --- a/ui/pageview.cpp +++ b/ui/pageview.cpp @@ -273,7 +273,7 @@ void PageView::notifySetup( const QVector< KPDFPage * > & pageSet, bool document // Need slotRelayoutPages() here instead of d->dirtyLayout = true // because opening a pdf from another pdf will not trigger a viewportchange // so pages are never relayouted - slotRelayoutPages(); + QTimer::singleShot(0, this, SLOT(slotRelayoutPages())); else { // update the mouse cursor when closing because we may have close through a link and