mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
reset() after deleting empty cards
This commit is contained in:
parent
4866b5683e
commit
f86d38d0f8
2 changed files with 4 additions and 0 deletions
|
@ -891,6 +891,7 @@ will be lost. Continue?"""))
|
||||||
self.checkpoint(_("Delete Empty"))
|
self.checkpoint(_("Delete Empty"))
|
||||||
self.col.remCards(cids)
|
self.col.remCards(cids)
|
||||||
tooltip(_("%d cards deleted.") % len(cids))
|
tooltip(_("%d cards deleted.") % len(cids))
|
||||||
|
self.reset()
|
||||||
diag.connect(box, SIGNAL("accepted()"), onDelete)
|
diag.connect(box, SIGNAL("accepted()"), onDelete)
|
||||||
diag.show()
|
diag.show()
|
||||||
|
|
||||||
|
|
|
@ -96,8 +96,11 @@
|
||||||
<string>Maintenance</string>
|
<string>Maintenance</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionFullDatabaseCheck"/>
|
<addaction name="actionFullDatabaseCheck"/>
|
||||||
|
<addaction name="separator"/>
|
||||||
<addaction name="actionCheckMediaDatabase"/>
|
<addaction name="actionCheckMediaDatabase"/>
|
||||||
|
<addaction name="separator"/>
|
||||||
<addaction name="actionEmptyCards"/>
|
<addaction name="actionEmptyCards"/>
|
||||||
|
<addaction name="separator"/>
|
||||||
<addaction name="actionFullSync"/>
|
<addaction name="actionFullSync"/>
|
||||||
</widget>
|
</widget>
|
||||||
<addaction name="actionStudyDeck"/>
|
<addaction name="actionStudyDeck"/>
|
||||||
|
|
Loading…
Reference in a new issue