mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04: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):
|
||||
self.checkpoint(_("Delete"))
|
||||
self.col.remNotes([self.reviewer.card.note().id])
|
||||
self.reviewer.nextCard()
|
||||
self.reset()
|
||||
tooltip("Note and its cards deleted.")
|
||||
|
||||
def onBuryNote(self):
|
||||
|
|
|
@ -358,7 +358,7 @@
|
|||
<normaloff>:/icons/system-software-update.png</normaloff>:/icons/system-software-update.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Change Fact Type...</string>
|
||||
<string>Change Note Type...</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Shift+M</string>
|
||||
|
|
Loading…
Reference in a new issue