don't lose selection when changing deck

This commit is contained in:
Damien Elmes 2012-12-22 09:44:52 +09:00
parent c6b0945af1
commit eced132aa2

View File

@ -973,9 +973,8 @@ where id in %s""" % ids2str(sf))
self.col.db.execute("""
update cards set usn=?, mod=?, did=? where id in """ + scids,
usn, mod, did)
self.onSearch(reset=False)
self.mw.requireReset()
self.model.endReset()
self.mw.requireReset()
# Tags
######################################################################