We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 3799f11 commit a09aa76Copy full SHA for a09aa76
python/plugins/processing/outputs/OutputRaster.py
@@ -35,7 +35,13 @@ class OutputRaster(Output):
35
compatible = None
36
37
def getFileFilter(self, alg):
38
- exts = dataobjects.getSupportedOutputRasterLayerExtensions()
+ providerExts = alg.provider.getSupportedOutputRasterLayerExtensions()
39
+ if providerExts == ['tif']:
40
+ # use default extensions
41
+ exts = dataobjects.getSupportedOutputRasterLayerExtensions()
42
+ else:
43
+ # use extensions given by the algorithm provider
44
+ exts = providerExts
45
for i in range(len(exts)):
46
exts[i] = exts[i].upper() + ' files(*.' + exts[i].lower() + ')'
47
return ';;'.join(exts)
0 commit comments