Skip to content

Commit

Permalink
Merge pull request #5159 from alexbruy/fix-filter
Browse files Browse the repository at this point in the history
[processing] fix file filter construction for output files
  • Loading branch information
nyalldawson committed Sep 11, 2017
2 parents 8aeffdb + 1fb48f4 commit cf8afc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/ParameterGuiUtils.py
Expand Up @@ -77,7 +77,7 @@ def getFileFilter(param):
return QgsProviderRegistry.instance().fileVectorFilters()
elif param.type() == 'vector':
return QgsProviderRegistry.instance().fileVectorFilters()
elif param.type() == 'fileOut':
elif param.type() == 'fileDestination':
return tr('All files (*.*)') + ';;' + param.fileFilter()

return ''

0 comments on commit cf8afc1

Please sign in to comment.