From 29589fcf0d59d698edd17d9a9da76d01c273309c Mon Sep 17 00:00:00 2001 From: RumovZ Date: Sat, 22 May 2021 08:35:47 +0200 Subject: [PATCH] Update context action states after card op --- qt/aqt/browser/browser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qt/aqt/browser/browser.py b/qt/aqt/browser/browser.py index f16196a2a..9f2fdb566 100644 --- a/qt/aqt/browser/browser.py +++ b/qt/aqt/browser/browser.py @@ -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: