Skip to content
Permalink
Browse files

Add SVG file filter to SVG fill pattern browse dialog (refs #6209)

  • Loading branch information
nyalldawson committed May 4, 2014
1 parent 43e1a63 commit 03e10eaab8d291c983ac762a744a4b6b51ba0180
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/symbology-ng/qgssymbollayerv2widget.cpp
@@ -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 );

0 comments on commit 03e10ea

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