Skip to content

Commit 03e10ea

Browse files
committedMay 4, 2014
Add SVG file filter to SVG fill pattern browse dialog (refs #6209)
1 parent 43e1a63 commit 03e10ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/symbology-ng/qgssymbollayerv2widget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2010,7 +2010,7 @@ QgsSymbolLayerV2* QgsSVGFillSymbolLayerWidget::symbolLayer()
20102010

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

0 commit comments

Comments
 (0)
Please sign in to comment.