Skip to content

Commit

Permalink
Add SVG file filter to SVG fill pattern browse dialog (refs #6209)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 4, 2014
1 parent 43e1a63 commit 03e10ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/symbology-ng/qgssymbollayerv2widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2010,7 +2010,7 @@ QgsSymbolLayerV2* QgsSVGFillSymbolLayerWidget::symbolLayer()

void QgsSVGFillSymbolLayerWidget::on_mBrowseToolButton_clicked()
{
QString filePath = QFileDialog::getOpenFileName( 0, tr( "Select svg texture file" ) );
QString filePath = QFileDialog::getOpenFileName( 0, tr( "Select SVG texture file" ), QString(), tr( "SVG file" ) + " (*.svg);;" + tr( "All files" ) + " (*.*)" );
if ( !filePath.isNull() )
{
mSVGLineEdit->setText( filePath );
Expand Down

0 comments on commit 03e10ea

Please sign in to comment.