Skip to content

Commit 86304b9

Browse files
committedApr 28, 2014
[composer] Allow choosing *.htm and *.* files for html item source (sponsored by City of Uster, Switzerland)
1 parent 94a547e commit 86304b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/composer/qgscomposerhtmlwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void QgsComposerHtmlWidget::on_mFileToolButton_clicked()
8787
{
8888
QSettings s;
8989
QString lastDir = s.value( "/UI/lastHtmlDir", "" ).toString();
90-
QString file = QFileDialog::getOpenFileName( this, tr( "Select HTML document" ), lastDir, "HTML (*.html)" );
90+
QString file = QFileDialog::getOpenFileName( this, tr( "Select HTML document" ), lastDir, "HTML (*.html *.htm);;All files (*.*)" );
9191
if ( !file.isEmpty() )
9292
{
9393
QUrl url = QUrl::fromLocalFile( file );

0 commit comments

Comments
 (0)
Please sign in to comment.