Skip to content
Permalink
Browse files

[GRASS] support extension filter in file output, fixes #5011

  • Loading branch information
blazek committed Feb 22, 2016
1 parent 6475360 commit 0b4b0ccc3099ed9e1a09f4555b66a0a7aaf31272
@@ -12,5 +12,5 @@
<option key="z" version_min="7.0"/>
<option key="zscale" version_min="7.0"/>
<option key="precision" version_min="7.0"/>
<file key="output" type="new" filters="VTK (*.vtk)" />
<file key="output" type="new" filters="VTK (*.vtk *.VTK);;All files(*.*)" />
</qgisgrassmodule>
@@ -5,5 +5,5 @@
<option key="input" layeroption="layer" typeoption="type" />
<option key="scale" version_max="6.4"/>
<option key="zscale" version_min="7.0"/>
<file key="output" filters="VTK (*.vtk)"/>
<file key="output" type="new" filters="VTK (*.vtk *.VTK);;All files(*.*)"/>
</qgisgrassmodule>
@@ -1581,7 +1581,7 @@ void QgsGrassModuleFile::browse()
selectedFile = lastDir;

if ( mType == New )
selectedFile = QFileDialog::getSaveFileName( this, 0, selectedFile );
selectedFile = QFileDialog::getSaveFileName( this, 0, selectedFile, mFilters );
else if ( mType == Directory )
selectedFile = QFileDialog::getExistingDirectory( this, 0, selectedFile );
else

0 comments on commit 0b4b0cc

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