[processing] Asumme standard dialog when wrapper’s parent dialog is of unknown class

This commit is contained in:
volaya 2016-09-14 07:26:45 +02:00
parent a4a74b631a
commit 2bb6e4c19f

View File

@ -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)