mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 23:57:13 -05:00
when deleting a note, we need to rebuild the queue
This commit is contained in:
parent
259c5c6dfc
commit
37061c6661
2 changed files with 2 additions and 2 deletions
|
|
@ -616,7 +616,7 @@ Debug info:\n%s""") % traceback.format_exc(), help="DeckErrors")
|
||||||
def onDelete(self):
|
def onDelete(self):
|
||||||
self.checkpoint(_("Delete"))
|
self.checkpoint(_("Delete"))
|
||||||
self.col.remNotes([self.reviewer.card.note().id])
|
self.col.remNotes([self.reviewer.card.note().id])
|
||||||
self.reviewer.nextCard()
|
self.reset()
|
||||||
tooltip("Note and its cards deleted.")
|
tooltip("Note and its cards deleted.")
|
||||||
|
|
||||||
def onBuryNote(self):
|
def onBuryNote(self):
|
||||||
|
|
|
||||||
|
|
@ -358,7 +358,7 @@
|
||||||
<normaloff>:/icons/system-software-update.png</normaloff>:/icons/system-software-update.png</iconset>
|
<normaloff>:/icons/system-software-update.png</normaloff>:/icons/system-software-update.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Change Fact Type...</string>
|
<string>Change Note Type...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+M</string>
|
<string>Ctrl+Shift+M</string>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue