mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
Add ellipsis to Forget action
https://forums.ankiweb.net/t/bug-card-browser-rmb-forget-label-should-end-with-ellipsis-because-it-displays-a-dialog/20851
This commit is contained in:
parent
48c7bb031e
commit
32b9d34749
2 changed files with 6 additions and 1 deletions
|
@ -262,6 +262,7 @@ class Browser(QMainWindow):
|
||||||
self.mw.maybeHideAccelerators(self)
|
self.mw.maybeHideAccelerators(self)
|
||||||
|
|
||||||
add_ellipsis_to_action_label(f.actionCopy)
|
add_ellipsis_to_action_label(f.actionCopy)
|
||||||
|
add_ellipsis_to_action_label(f.action_forget)
|
||||||
|
|
||||||
def closeEvent(self, evt: QCloseEvent) -> None:
|
def closeEvent(self, evt: QCloseEvent) -> None:
|
||||||
if self._closeEventHasCleanedUp:
|
if self._closeEventHasCleanedUp:
|
||||||
|
|
|
@ -933,7 +933,11 @@ time = %(time)d;
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[tr.studying_bury_card(), "-", self.bury_current_card],
|
[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_forget_card()),
|
||||||
|
"Ctrl+Alt+N",
|
||||||
|
self.forget_current_card,
|
||||||
|
],
|
||||||
[
|
[
|
||||||
tr.actions_with_ellipsis(action=tr.actions_set_due_date()),
|
tr.actions_with_ellipsis(action=tr.actions_set_due_date()),
|
||||||
"Ctrl+Shift+D",
|
"Ctrl+Shift+D",
|
||||||
|
|
Loading…
Reference in a new issue