Fix update of html frames

This commit is contained in:
Marco Hugentobler 2012-07-27 14:18:42 +02:00
parent 70fe6cf723
commit 050c0ff63d
2 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,7 @@ void QgsComposerHtmlWidget::on_mFileToolButton_clicked()
QUrl url = QUrl::fromLocalFile( file );
mHtml->setUrl( url );
mUrlLineEdit->setText( url.toString() );
mHtml->update();
}
}

View File

@ -64,6 +64,7 @@ void QgsComposerHtml::setUrl( const QUrl& url )
mSize.setWidth( contentsSize.width() / mHtmlUnitsToMM );
mSize.setHeight( contentsSize.height() / mHtmlUnitsToMM );
recalculateFrameSizes();
}
void QgsComposerHtml::frameLoaded( bool ok )