anki/qt
Matthias Metelka 3015ddd2c1
Fix bug(s) caused by deleting a notetype currently selected in AddCards (#1514)
* Remove unneeded old.note_type() call

Fixes TypeError thrown after deleting a notetype that's currently selected in the editor.

* Handle IndexError on notetype change

Occurs in the Add window when changing the notetype via NotetypeChooser from
- the notetype that's auto-selected after deleting the currently selected notetype
- to a notetype with fewer fields than the auto-selected one

* Add return to exception handler

to properly ignore the command.
2021-12-04 07:55:22 +10:00
..
aqt Fix bug(s) caused by deleting a notetype currently selected in AddCards (#1514) 2021-12-04 07:55:22 +10:00
icons move remaining Filter button items into sidebar 2021-02-05 18:58:22 +10:00
mac Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
package update PyOxidizer 2021-12-03 21:00:15 +10:00
tests updated package scripts 2021-10-28 18:46:45 +10:00
tools Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
.isort.cfg initial Bazel conversion 2020-11-01 14:26:58 +10:00
.pylintrc switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
bazelfixes.py updated package scripts 2021-10-28 18:46:45 +10:00
BUILD.bazel improve PyQt install 2021-10-23 10:56:17 +10:00
dmypy.py fix scripts/mypy* 2021-10-30 09:14:43 +10:00
mypy.ini switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00
runanki.py get PyQt working directly with ./run on macOS 2021-10-16 18:07:29 +10:00

Python's Qt GUI is in aqt/