mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Disable Toggle Bury when nothing is selected (#2529)
This commit is contained in:
parent
f758b33346
commit
3787699f8c
1 changed files with 1 additions and 0 deletions
|
@ -592,6 +592,7 @@ class Browser(QMainWindow):
|
|||
self.form.action_forget.setEnabled(has_selection)
|
||||
self.form.actionReposition.setEnabled(has_selection)
|
||||
self.form.actionToggle_Suspend.setEnabled(has_selection)
|
||||
self.form.action_toggle_bury.setEnabled(has_selection)
|
||||
self.form.menuFlag.setEnabled(has_selection)
|
||||
|
||||
def _update_current_actions(self) -> None:
|
||||
|
|
Loading…
Reference in a new issue