mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
reload card after suspending it in leech handler
this fixes the issue with display of due time in browser after an unsuspend
This commit is contained in:
parent
4f1bcb9356
commit
2a76c8f4f0
1 changed files with 1 additions and 1 deletions
|
@ -711,7 +711,7 @@ did = ? and queue = 2 and due <= ? %s limit ?""" % order,
|
|||
a = conf['leechAction']
|
||||
if a == 0:
|
||||
self.suspendCards([card.id])
|
||||
card.queue = -1
|
||||
card.load()
|
||||
# notify UI
|
||||
runHook("leech", card)
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue