Skip to content
Permalink
Browse files

[processing] Disable cancel button for GDAL algorithms

The provider doesn't support cancelation
  • Loading branch information
nyalldawson committed Apr 3, 2018
1 parent fdace26 commit d164f8ff98636eb88fb48ec0d6972e0587711560
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/algs/gdal/GdalAlgorithm.py
@@ -59,6 +59,9 @@ def createInstance(self, config={}):
def createCustomParametersWidget(self, parent):
return GdalAlgorithmDialog(self)

def flags(self):
return QgsProcessingAlgorithm.FlagSupportsBatch # cannot cancel!

def getConsoleCommands(self, parameters, context, feedback, executing=True):
return None

0 comments on commit d164f8f

Please sign in to comment.
You can’t perform that action at this time.