Merge pull request #1186 from RumovZ/ctx-actions

Update context action states after card op
This commit is contained in:
Damien Elmes 2021-05-24 10:49:23 +10:00 committed by GitHub
commit a0eebb78ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: