mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[processing][gdal] Fix stylesheet for gdal algorithms
This commit is contained in:
parent
7977450796
commit
7a45702b83
@ -63,7 +63,7 @@ class GdalAlgorithm(QgsProcessingAlgorithm):
|
||||
return self.__class__()
|
||||
|
||||
def createCustomParametersWidget(self, parent):
|
||||
return GdalAlgorithmDialog(self)
|
||||
return GdalAlgorithmDialog(self, parent=parent)
|
||||
|
||||
def flags(self):
|
||||
return QgsProcessingAlgorithm.FlagSupportsBatch # cannot cancel!
|
||||
|
@ -55,8 +55,8 @@ from processing.tools.dataobjects import createContext
|
||||
|
||||
class GdalAlgorithmDialog(AlgorithmDialog):
|
||||
|
||||
def __init__(self, alg):
|
||||
super().__init__(alg)
|
||||
def __init__(self, alg, parent=None):
|
||||
super().__init__(alg, parent=parent)
|
||||
self.mainWidget().parametersHaveChanged()
|
||||
|
||||
def getParametersPanel(self, alg, parent):
|
||||
|
Loading…
x
Reference in New Issue
Block a user