mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
don't bump mod time when unburying cards from deck list
This commit is contained in:
parent
4011fa3084
commit
d3f0c84517
1 changed files with 2 additions and 0 deletions
|
@ -129,8 +129,10 @@ order by due""" % self._deckLimit(),
|
||||||
|
|
||||||
def unburyCards(self):
|
def unburyCards(self):
|
||||||
"Unbury cards when closing."
|
"Unbury cards when closing."
|
||||||
|
mod = self.col.db.mod
|
||||||
self.col.db.execute(
|
self.col.db.execute(
|
||||||
"update cards set queue = type where queue = -2")
|
"update cards set queue = type where queue = -2")
|
||||||
|
self.col.db.mod = mod
|
||||||
|
|
||||||
# Rev/lrn/time daily stats
|
# Rev/lrn/time daily stats
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
Loading…
Reference in a new issue