Skip to content

Commit 7a45702

Browse files
committedSep 28, 2018
[processing][gdal] Fix stylesheet for gdal algorithms
1 parent 7977450 commit 7a45702

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎python/plugins/processing/algs/gdal/GdalAlgorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def createInstance(self, config={}):
6363
return self.__class__()
6464

6565
def createCustomParametersWidget(self, parent):
66-
return GdalAlgorithmDialog(self)
66+
return GdalAlgorithmDialog(self, parent=parent)
6767

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

‎python/plugins/processing/algs/gdal/GdalAlgorithmDialog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555

5656
class GdalAlgorithmDialog(AlgorithmDialog):
5757

58-
def __init__(self, alg):
59-
super().__init__(alg)
58+
def __init__(self, alg, parent=None):
59+
super().__init__(alg, parent=parent)
6060
self.mainWidget().parametersHaveChanged()
6161

6262
def getParametersPanel(self, alg, parent):

0 commit comments

Comments
 (0)
Please sign in to comment.