Skip to content

Commit

Permalink
Allow choice of files with non .html extension for HTML annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 5, 2014
1 parent af0d68c commit 2e477b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgshtmlannotationdialog.cpp
Expand Up @@ -74,7 +74,7 @@ void QgsHtmlAnnotationDialog::on_mBrowseToolButton_clicked()
{
directory = fi.absolutePath();
}
QString filename = QFileDialog::getOpenFileName( 0, tr( "html" ), directory, "*.html" );
QString filename = QFileDialog::getOpenFileName( 0, tr( "html" ), directory, "HTML (*.html *.htm);;All files (*.*)" );
mFileLineEdit->setText( filename );
}

Expand Down

0 comments on commit 2e477b1

Please sign in to comment.