diff --git a/AnkiDroid/src/main/java/com/ichi2/anki/CardBrowser.kt b/AnkiDroid/src/main/java/com/ichi2/anki/CardBrowser.kt index 77e6bca1765d..8a8af9f3f49d 100644 --- a/AnkiDroid/src/main/java/com/ichi2/anki/CardBrowser.kt +++ b/AnkiDroid/src/main/java/com/ichi2/anki/CardBrowser.kt @@ -2615,8 +2615,7 @@ open class CardBrowser : changes.card ) && handler !== this ) { - // executing this only for the refresh side effects; there may be a better way - Undo().runWithHandler(mUndoHandler) + mUndoHandler.actualOnPostExecute(this@CardBrowser, Computation.ok(NextCard.withNoResult(null))) } }