diff --git a/piker/ui/_interaction.py b/piker/ui/_interaction.py index 4c32e961..4a9771e4 100644 --- a/piker/ui/_interaction.py +++ b/piker/ui/_interaction.py @@ -762,8 +762,7 @@ class ChartView(ViewBox): # ctlr-k if key == QtCore.Qt.Key_K and ctrl: search = self._chart._lc.chart_space.search - search.show() - search.setFocus() + search.focus() # esc if key == QtCore.Qt.Key_Escape or (ctrl and key == QtCore.Qt.Key_C):