File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
python/plugins/processing/core Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -151,16 +151,11 @@ class OutputRaster(Output):
151
151
152
152
compatible = None
153
153
154
+
154
155
def getFileFilter (self , alg ):
155
- providerExts = alg .provider .getSupportedOutputRasterLayerExtensions ()
156
- if providerExts == ['tif' ]:
157
- # use default extensions
158
- exts = dataobjects .getSupportedOutputRasterLayerExtensions ()
159
- else :
160
- # use extensions given by the algorithm provider
161
- exts = providerExts
156
+ exts = dataobjects .getSupportedOutputRasterLayerExtensions ()
162
157
for i in range (len (exts )):
163
- exts [i ] = self .tr ('%s files(*.%s)' , 'OutputRaster ' ) % (exts [i ].upper (), exts [i ].lower ())
158
+ exts [i ] = self .tr ('%s files (*.%s)' , 'OutputVector ' ) % (exts [i ].upper (), exts [i ].lower ())
164
159
return ';;' .join (exts )
165
160
166
161
def getDefaultFileExtension (self , alg ):
You can’t perform that action at this time.
0 commit comments