Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Call renderCachedImage after viewport has been computed
  • Loading branch information
manisandro committed Aug 25, 2014
1 parent aaa92cc commit 58cce34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerhtml.cpp
Expand Up @@ -183,7 +183,6 @@ void QgsComposerHtml::loadHtml()
qApp->processEvents();
}

renderCachedImage();
recalculateFrameSizes();
//trigger a repaint
emit contentsChanged();
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit 58cce34

Please sign in to comment.