Skip to content
Browse files
[processing] Disable cancel button for GDAL algorithms
The provider doesn't support cancelation

(cherry-picked from d164f8f)
  • Loading branch information
nyalldawson committed Apr 6, 2018
1 parent a7096ae commit 5a9fd0c0fdf9aa50216957b6d89c0e96ba88253b
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 5a9fd0c

Please sign in to comment.