Skip to content

Commit

Permalink
[processing][gdal] Fix stylesheet for gdal algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 28, 2018
1 parent 7977450 commit 7a45702
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/GdalAlgorithm.py
Expand Up @@ -63,7 +63,7 @@ def createInstance(self, config={}):
return self.__class__() return self.__class__()


def createCustomParametersWidget(self, parent): def createCustomParametersWidget(self, parent):
return GdalAlgorithmDialog(self) return GdalAlgorithmDialog(self, parent=parent)


def flags(self): def flags(self):
return QgsProcessingAlgorithm.FlagSupportsBatch # cannot cancel! return QgsProcessingAlgorithm.FlagSupportsBatch # cannot cancel!
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/gdal/GdalAlgorithmDialog.py
Expand Up @@ -55,8 +55,8 @@


class GdalAlgorithmDialog(AlgorithmDialog): class GdalAlgorithmDialog(AlgorithmDialog):


def __init__(self, alg): def __init__(self, alg, parent=None):
super().__init__(alg) super().__init__(alg, parent=parent)
self.mainWidget().parametersHaveChanged() self.mainWidget().parametersHaveChanged()


def getParametersPanel(self, alg, parent): def getParametersPanel(self, alg, parent):
Expand Down

0 comments on commit 7a45702

Please sign in to comment.