AwesomeTTS / awesometts-anki-addon

AwesomeTTS text-to-speech add-on for Anki
GNU General Public License v3.0
481 stars 99 forks source link

Fix crash on config exit with new Anki version without the Qt5 compatibility shim #308

Closed AuroraWright closed 5 months ago

AuroraWright commented 7 months ago

Fixes this error when exiting the config window on recent Anki releases:

Caught exception:
Traceback (most recent call last):
  File "/Users/aurora/Library/Application Support/Anki2/addons21/1436550454/awesometts/gui/configurator.py", line 282, in validate
    return aqt.qt.QValidator.Acceptable, filtered, len(filtered)
AttributeError: type object 'QValidator' has no attribute 'Acceptable'
luc-vocab commented 5 months ago

merged, thank you.