mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Force memory state recompute when cards moved into different deck
This commit is contained in:
parent
1ad343c22a
commit
2a173fdca9
1 changed files with 1 additions and 0 deletions
|
|
@ -186,6 +186,7 @@ impl Card {
|
|||
/// Caller must ensure provided deck exists and is not filtered.
|
||||
fn set_deck(&mut self, deck: DeckId) {
|
||||
self.remove_from_filtered_deck_restoring_queue();
|
||||
self.memory_state = None;
|
||||
self.deck_id = deck;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue