diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 8151602f9..94f43b70b 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -92,6 +92,7 @@ Vova Selin qxo <49526356@qq.com> Spooghetti420 Danish Prakash +Araceli Yanez ******************** diff --git a/qt/aqt/reviewer.py b/qt/aqt/reviewer.py index b22e1dc3e..7d2377950 100644 --- a/qt/aqt/reviewer.py +++ b/qt/aqt/reviewer.py @@ -30,6 +30,7 @@ from aqt.operations.scheduling import ( answer_card, bury_cards, bury_notes, + forget_cards, set_due_date_dialog, suspend_cards, suspend_note, @@ -459,6 +460,7 @@ class Reviewer: ("-", self.bury_current_card), ("!", self.suspend_current_note), ("@", self.suspend_current_card), + ("Ctrl+Alt+N", self.forget_current_card), ("Ctrl+Alt+E", self.on_create_copy), ("Ctrl+Delete", self.delete_current_note), ("Ctrl+Shift+D", self.on_set_due), @@ -915,6 +917,7 @@ time = %(time)d; ], ], [tr.studying_bury_card(), "-", self.bury_current_card], + [tr.actions_forget_card(), "Ctrl+Alt+N", self.forget_current_card], [ tr.actions_with_ellipsis(action=tr.actions_set_due_date()), "Ctrl+Shift+D", @@ -1053,6 +1056,12 @@ time = %(time)d; lambda res: tooltip(tr.studying_cards_buried(count=res.count)) ).run_in_background() + def forget_current_card(self) -> None: + forget_cards( + parent=self.mw, + card_ids=[self.card.id], + ).run_in_background() + def on_create_copy(self) -> None: if self.card: aqt.dialogs.open("AddCards", self.mw).set_note(