Issue with special fields addon on anki 2.1.28-29

I’m getting a new error with the special fields add-on that is getting reported to me multiple times a day and I’ve encouraged users to step down to 2.1.26 for now. Is this something I need to get them to update the add-on again or something on your end?

File “/Users/Nick/Library/Application Support/Anki2/addons21/1102281552/dialog.py”, line 41, in init
self.form.buttonBox.button(
AttributeError: ‘NoneType’ object has no attribute ‘setAutoDefault’

Just for refefrence,

qt/designer/fields.ui

  <property name="standardButtons">
-   <set>QDialogButtonBox::Close|QDialogButtonBox::Help</set>
+   <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Save</set>
  </property>
2 Likes

The add-on author will need to reference the save button instead of the close button, and test to make sure it works.

1 Like