Skip to content
Permalink
Browse files

Call renderCachedImage after viewport has been computed

  • Loading branch information
manisandro committed Aug 25, 2014
1 parent aaa92cc commit 58cce34fb09aa06e7c31d4baee379c44947b2eb4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/composer/qgscomposerhtml.cpp
@@ -183,7 +183,6 @@ void QgsComposerHtml::loadHtml()
qApp->processEvents();
}

renderCachedImage();
recalculateFrameSizes();
//trigger a repaint
emit contentsChanged();
@@ -214,6 +213,7 @@ void QgsComposerHtml::recalculateFrameSizes()
mWebPage->setViewportSize( contentsSize );
mSize.setWidth( contentsSize.width() / mHtmlUnitsToMM );
mSize.setHeight( contentsSize.height() / mHtmlUnitsToMM );
renderCachedImage();
QgsComposerMultiFrame::recalculateFrameSizes();
emit changed();
}

0 comments on commit 58cce34

Please sign in to comment.
You can’t perform that action at this time.