mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Fix {{CardFlags}} not working with flags 5-7
https://forums.ankiweb.net/t/please-activate-flags-5-7-on-the-cardflag/22143
This commit is contained in:
parent
4ea370959b
commit
bd2f866c68
1 changed files with 2 additions and 8 deletions
|
@ -161,14 +161,8 @@ impl Collection {
|
|||
}
|
||||
}
|
||||
|
||||
fn flag_name(n: u8) -> &'static str {
|
||||
match n {
|
||||
1 => "flag1",
|
||||
2 => "flag2",
|
||||
3 => "flag3",
|
||||
4 => "flag4",
|
||||
_ => "",
|
||||
}
|
||||
fn flag_name(n: u8) -> String {
|
||||
format!("flag{n}")
|
||||
}
|
||||
|
||||
fn fill_empty_fields(note: &mut Note, qfmt: &str, nt: &Notetype, tr: &I18n) {
|
||||
|
|
Loading…
Reference in a new issue