mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-20 12:02:16 +02:00
Prevent crash due to undoing operation on deleted notes
This commit is contained in:
parent
8c73205d84
commit
9c048765f2
@ -1945,6 +1945,8 @@ public class DeckPicker extends NavigationDrawerActivity implements
|
||||
}
|
||||
}
|
||||
CardBrowser.clearSelectedDeck();
|
||||
// TODO: if we had "undo delete note" like desktop client then we won't need this.
|
||||
getCol().clearUndo();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user