mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[processing] add default extension to empty filter when available
This commit is contained in:
parent
c871e84e36
commit
746701bf33
@ -90,4 +90,7 @@ def getFileFilter(param):
|
||||
elif param.type() == 'fileDestination':
|
||||
return param.fileFilter() + ';;' + tr('All files (*.*)')
|
||||
|
||||
return ''
|
||||
if param.defaultFileExtension():
|
||||
return tr('Default extension') + ' (*.' + param.defaultFileExtension() + ')'
|
||||
else:
|
||||
return ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user