Skip to content
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 1 changed file with 3 additions and 0 deletions.
@@ -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.