diff --git a/piker/ui/_chart.py b/piker/ui/_chart.py index cb59a634..5bff0c58 100644 --- a/piker/ui/_chart.py +++ b/piker/ui/_chart.py @@ -256,6 +256,15 @@ class GodWidget(QWidget): return order_mode_started + def focus(self) -> None: + '''Focus the top level widget which in turn focusses the chart + ala "view mode". + + ''' + # go back to view-mode focus (aka chart focus) + self.clearFocus() + self.linkedsplits.chart.setFocus() + class LinkedSplits(QWidget): '''