0
0
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:
Timothy Rae 2015-11-30 01:31:25 +09:00
parent 8c73205d84
commit 9c048765f2

View File

@ -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();
}