mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
skip the webview reload when undoing reviews
This commit is contained in:
parent
318765cb2e
commit
6b24b61999
1 changed files with 5 additions and 2 deletions
|
@ -791,8 +791,11 @@ QTreeWidget {
|
|||
if cid and self.state == "review":
|
||||
card = self.col.getCard(cid)
|
||||
self.reviewer.cardQueue.append(card)
|
||||
else:
|
||||
tooltip(_("Reverted to state prior to '%s'.") % n.lower())
|
||||
self.reviewer.nextCard()
|
||||
self.maybeEnableUndo()
|
||||
return
|
||||
|
||||
tooltip(_("Reverted to state prior to '%s'.") % n.lower())
|
||||
self.reset()
|
||||
self.maybeEnableUndo()
|
||||
|
||||
|
|
Loading…
Reference in a new issue