AwesomeTTS / awesometts-anki-addon

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

Set Add TTS button as non-default #248

Closed abdnh closed 2 years ago

abdnh commented 2 years ago

With the button set as default, pressing Enter on the search field will also trigger AwesomeTTS's dialog.

I see gui.Button is not used anywhere else in the code, so setting the properties in the constructor shouldn't have unintended side effects on other things, as far as I can tell.