Skip to content

Commit

Permalink
Fix update of html frames
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jul 27, 2012
1 parent 70fe6cf commit 050c0ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/composer/qgscomposerhtmlwidget.cpp
Expand Up @@ -51,6 +51,7 @@ void QgsComposerHtmlWidget::on_mFileToolButton_clicked()
QUrl url = QUrl::fromLocalFile( file );
mHtml->setUrl( url );
mUrlLineEdit->setText( url.toString() );
mHtml->update();
}
}

Expand Down
1 change: 1 addition & 0 deletions src/core/composer/qgscomposerhtml.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 050c0ff

Please sign in to comment.