johnpincock / SpecialFields

Anki Addon to protect certain fields from being overwritten by anki's import and export functions
GNU General Public License v3.0
7 stars 8 forks source link

Fix bug on latest alpha #29

Closed BlueGreenMagick closed 3 years ago

BlueGreenMagick commented 3 years ago

There are 2 bugs when running this add-on on the (to be released) Anki 2.1.45

  1. form.sticky has been removed, so form.sticky.setParent(None) causes an error. The second commit fixes this bug.

  2. Because form.stick has been removed, the first widget is now added from position (2, 2) instead of (3, 0). The first commit fixes this by manually specifying positions.

image