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 65b7e79 commit 5c794f6Copy full SHA for 5c794f6
python/plugins/GdalTools/tools/doClipper.py
@@ -59,9 +59,10 @@ def fillInputFiles(self):
59
for i in range(self.canvas.layerCount()-1, -1, -1):
60
layer = self.canvas.layer(i)
61
# only raster layers, but not WMS ones
62
- if layer.type() == layer.RasterLayer:
63
- if layer.usesProvider() and layer.providerKey() != 'gdal':
64
- continue
+ if layer.type() != layer.RasterLayer:
+ continue
+ if layer.usesProvider() and layer.providerKey() != 'gdal':
65
66
67
# do not use the output file as input
68
if layer.source() == self.outputFileEdit.text():
0 commit comments