Skip to content

Commit 5a9fd0c

Browse files
committed
[processing] Disable cancel button for GDAL algorithms
The provider doesn't support cancelation (cherry-picked from d164f8f)
1 parent a7096ae commit 5a9fd0c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/plugins/processing/algs/gdal/GdalAlgorithm.py

+3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ def createInstance(self, config={}):
5959
def createCustomParametersWidget(self, parent):
6060
return GdalAlgorithmDialog(self)
6161

62+
def flags(self):
63+
return QgsProcessingAlgorithm.FlagSupportsBatch # cannot cancel!
64+
6265
def getConsoleCommands(self, parameters, context, feedback, executing=True):
6366
return None
6467

0 commit comments

Comments
 (0)