Skip to content

Commit

Permalink
[composer] Allow choosing *.htm and *.* files for html item source (s…
Browse files Browse the repository at this point in the history
…ponsored by City of Uster, Switzerland)
  • Loading branch information
nyalldawson committed Apr 28, 2014
1 parent 94a547e commit 86304b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/composer/qgscomposerhtmlwidget.cpp
Expand Up @@ -87,7 +87,7 @@ void QgsComposerHtmlWidget::on_mFileToolButton_clicked()
{
QSettings s;
QString lastDir = s.value( "/UI/lastHtmlDir", "" ).toString();
QString file = QFileDialog::getOpenFileName( this, tr( "Select HTML document" ), lastDir, "HTML (*.html)" );
QString file = QFileDialog::getOpenFileName( this, tr( "Select HTML document" ), lastDir, "HTML (*.html *.htm);;All files (*.*)" );
if ( !file.isEmpty() )
{
QUrl url = QUrl::fromLocalFile( file );
Expand Down

0 comments on commit 86304b9

Please sign in to comment.