Go to file
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
.buildkite move node_modules into root folder [action required] 2021-10-07 11:42:27 +10:00
.github/ISSUE_TEMPLATE update bug report template 2021-11-12 12:20:02 +10:00
cargo update Rust deps 2021-12-03 20:35:53 +10:00
docs update Visual Studio instructions 2021-11-29 12:32:39 +10:00
ftl Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
platforms use x86 binaries for clang format/protobuf on Mac 2021-10-16 18:07:39 +10:00
proto Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
pylib update Rust deps 2021-12-03 20:35:53 +10:00
python update to PyQt6.2.2 2021-12-03 19:42:43 +10:00
qt Fix bug(s) caused by deleting a notetype currently selected in AddCards (#1514) 2021-12-04 07:55:22 +10:00
rslib update Rust deps 2021-12-03 20:35:53 +10:00
sass Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
scripts add script to put node/yarn on path 2021-12-03 20:35:53 +10:00
ts Fix focus lost after adding note if non-sticky (#1523) 2021-12-03 21:41:12 +10:00
.bazelignore move node_modules into root folder [action required] 2021-10-07 11:42:27 +10:00
.bazelrc update to Rust 1.57 + latest rules_rust 2021-12-03 20:35:52 +10:00
.bazelversion update Bazel version 2021-10-01 20:54:48 +10:00
.gitattributes
.gitignore move node_modules into root folder [action required] 2021-10-07 11:42:27 +10:00
.prettierignore Mathjax editor improvements (#1502) 2021-11-23 10:27:32 +10:00
.prettierrc Mathjax editor improvements (#1502) 2021-11-23 10:27:32 +10:00
bazel.bat
BUILD.bazel Fix prettier after moving node_modules to repo dir (#1413) 2021-10-09 10:13:14 +10:00
Cargo.lock update Rust deps 2021-12-03 20:35:53 +10:00
Cargo.toml Garbage collect unused Fluent strings (#1482) 2021-11-12 18:19:01 +10:00
CONTRIBUTORS add new hook: add_cards_did_change_deck (#1420) 2021-10-12 17:55:21 +10:00
defs.bzl update to edition 2021 2021-11-18 20:51:10 +10:00
late_deps.bzl download wheels using rules_python 2021-10-15 16:02:26 +10:00
LICENSE
package.json update Node deps 2021-12-03 20:35:53 +10:00
pkgkey.asc
README.md fix build badge 2021-06-24 09:21:56 +10:00
repos.bzl update to Rust 1.57 + latest rules_rust 2021-12-03 20:35:52 +10:00
run get PyQt working directly with ./run on macOS 2021-10-16 18:07:29 +10:00
run.bat
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
WORKSPACE move node_modules into root folder [action required] 2021-10-07 11:42:27 +10:00
yarn.lock update Node deps 2021-12-03 20:35:53 +10:00

Anki

Build status

This repo contains the source code for the computer version of Anki.

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/

For more information on building, please see Development.