mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[processing] Asumme standard dialog when wrapper’s parent dialog is of unknown class
This commit is contained in:
parent
a4a74b631a
commit
2bb6e4c19f
@ -83,7 +83,7 @@ class WidgetWrapper(QObject):
|
||||
self.dialog = dialog
|
||||
self.row = row
|
||||
self.col = col
|
||||
self.dialogType = dialogTypes[dialog.__class__.__name__]
|
||||
self.dialogType = dialogTypes.get(dialog.__class__.__name__, DIALOG_STANDARD)
|
||||
self.widget = self.createWidget()
|
||||
if param.default is not None:
|
||||
self.setValue(param.default)
|
||||
|
Loading…
x
Reference in New Issue
Block a user