Skip to content

Commit

Permalink
[processing] Disable cancel button for GDAL algorithms
Browse files Browse the repository at this point in the history
The provider doesn't support cancelation
  • Loading branch information
nyalldawson committed Apr 3, 2018
1 parent fdace26 commit d164f8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/gdal/GdalAlgorithm.py
Expand Up @@ -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

Expand Down

0 comments on commit d164f8f

Please sign in to comment.