Skip to content
Permalink
Browse files

Fix update of html frames

  • Loading branch information
mhugent committed Jul 27, 2012
1 parent 70fe6cf commit 050c0ff63d9b92f627a8fff4ca7e8d27cefe6ffe
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/app/composer/qgscomposerhtmlwidget.cpp
  2. +1 −0 src/core/composer/qgscomposerhtml.cpp
@@ -51,6 +51,7 @@ void QgsComposerHtmlWidget::on_mFileToolButton_clicked()
QUrl url = QUrl::fromLocalFile( file );
mHtml->setUrl( url );
mUrlLineEdit->setText( url.toString() );
mHtml->update();
}
}

@@ -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 )

0 comments on commit 050c0ff

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