mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
don't flushMod() unless modified
This commit is contained in:
parent
3de46f701b
commit
9df4b3278f
1 changed files with 1 additions and 1 deletions
|
@ -664,9 +664,9 @@ type = 0 and isDue = 1 and combinedDue <= :now""", now=time.time())
|
||||||
ids = self.s.column0("select id from cards where priority = -1")
|
ids = self.s.column0("select id from cards where priority = -1")
|
||||||
if ids:
|
if ids:
|
||||||
self.updatePriorities(ids)
|
self.updatePriorities(ids)
|
||||||
|
self.flushMod()
|
||||||
self.reviewEarly = False
|
self.reviewEarly = False
|
||||||
self.newEarly = False
|
self.newEarly = False
|
||||||
self.flushMod()
|
|
||||||
self.checkDue()
|
self.checkDue()
|
||||||
|
|
||||||
# Times
|
# Times
|
||||||
|
|
Loading…
Reference in a new issue