Merge remote-tracking branch 'origin/v3.6'

This commit is contained in:
Adolfo Gómez García 2022-10-17 16:05:05 +02:00
commit 6a71a505b3
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -310,7 +310,7 @@ class gui:
def __init__(self, **options) -> None:
# Added defaultValue as alias for defvalue
defvalue = options.get('defvalue', options.get('defaultValue', ''))
defvalue = options.get('defvalue', options.get('defaultValue', options.get('defValue', '')))
if callable(defvalue):
defvalue = defvalue()
self._data = {