mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Update context action states after card op
This commit is contained in:
parent
195c41cba3
commit
29589fcf0d
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ class Browser(QMainWindow):
|
|||
|
||||
if changes.browser_table and changes.card:
|
||||
self.card = self.table.get_current_card()
|
||||
self._update_context_actions()
|
||||
|
||||
def on_focus_change(self, new: Optional[QWidget], old: Optional[QWidget]) -> None:
|
||||
if current_top_level_widget() == self:
|
||||
|
|
Loading…
Reference in a new issue