fix mixup

This commit is contained in:
Denis Rouzaud 2024-10-09 12:08:45 +02:00
parent d9296002fd
commit f7a191519e
No known key found for this signature in database
GPG Key ID: 92CF4C78D698D715
2 changed files with 4 additions and 4 deletions

View File

@ -29,8 +29,8 @@ class PyQgsSettingsEnumEditorWidgetWrapper(QgsSettingsEditorWidgetWrapper):
"""
def __init__(self, parent=None, editor=None, setting=None, displayStrings: dict = None):
self.setting = editor
self.editor = setting
self.setting = setting
self.editor = editor
self.displayStrings = {}
super().__init__(parent)
if editor is not None and setting is not None:

View File

@ -29,8 +29,8 @@ class PyQgsSettingsEnumEditorWidgetWrapper(QgsSettingsEditorWidgetWrapper):
"""
def __init__(self, parent=None, editor=None, setting=None, displayStrings: dict = None):
self.setting = editor
self.editor = setting
self.setting = setting
self.editor = editor
self.displayStrings = {}
super().__init__(parent)
if editor is not None and setting is not None: