mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 05:53:53 -05:00
Fix condition in is_included_card function to check CardType instead of CardQueue
This commit is contained in:
parent
0f7577a999
commit
08206ca5b6
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ impl Collection {
|
|||
fn is_included_card(c: &Card) -> bool {
|
||||
c.queue != CardQueue::Suspended
|
||||
&& c.queue != CardQueue::PreviewRepeat
|
||||
&& c.queue != CardQueue::New
|
||||
&& c.ctype != CardType::New
|
||||
}
|
||||
// calculate any missing memory state
|
||||
for c in &mut cards {
|
||||
|
|
|
|||
Loading…
Reference in a new issue