mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
don't move cards if they're in a temporary deck
This commit is contained in:
parent
e4860b1b7f
commit
a56cede50c
1 changed files with 2 additions and 2 deletions
|
@ -901,8 +901,8 @@ where id in %s""" % ids2str(sf))
|
|||
mod = intTime()
|
||||
usn = self.col.usn()
|
||||
did = self.col.decks.id(unicode(te.text()))
|
||||
self.col.db.execute(
|
||||
"update cards set usn=?, mod=?, did=? where id in " + ids2str(
|
||||
self.col.db.execute("""
|
||||
update cards set usn=?, mod=?, did=? where odid=0 and id in """ + ids2str(
|
||||
self.selectedCards()), usn, mod, did)
|
||||
self.onSearch(reset=False)
|
||||
self.mw.requireReset()
|
||||
|
|
Loading…
Reference in a new issue