Skip to content
Permalink
Browse files

[composer] Allow choosing *.htm and *.* files for html item source (s…

…ponsored by City of Uster, Switzerland)
  • Loading branch information
nyalldawson committed Apr 28, 2014
1 parent 94a547e commit 86304b907dec8cfed603600d51c09b041c4f0b4c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/composer/qgscomposerhtmlwidget.cpp
@@ -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 );

0 comments on commit 86304b9

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