Merge pull request #1186 from RumovZ/ctx-actions
Update context action states after card op
This commit is contained in:
commit
a0eebb78ce
@ -132,6 +132,7 @@ class Browser(QMainWindow):
|
|||||||
|
|
||||||
if changes.browser_table and changes.card:
|
if changes.browser_table and changes.card:
|
||||||
self.card = self.table.get_current_card()
|
self.card = self.table.get_current_card()
|
||||||
|
self._update_context_actions()
|
||||||
|
|
||||||
def on_focus_change(self, new: Optional[QWidget], old: Optional[QWidget]) -> None:
|
def on_focus_change(self, new: Optional[QWidget], old: Optional[QWidget]) -> None:
|
||||||
if current_top_level_widget() == self:
|
if current_top_level_widget() == self:
|
||||||
|
Loading…
Reference in New Issue
Block a user