From 64c1d9a9658e859682ba9144727a2ad7cabaa24c Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 19 May 2021 08:46:51 -0400 Subject: [PATCH] Support ctrl-space to open search pane --- piker/ui/_interaction.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/piker/ui/_interaction.py b/piker/ui/_interaction.py index 05adfbcd..821a7a3a 100644 --- a/piker/ui/_interaction.py +++ b/piker/ui/_interaction.py @@ -759,8 +759,9 @@ class ChartView(ViewBox): if mods == QtCore.Qt.AltModifier: pass - # ctlr-l for "lookup" -> open search / lists - if ctrl and key == QtCore.Qt.Key_L: + # ctlr-/ for "lookup", "search" -> open search tree + if ctrl and (key == QtCore.Qt.Key_L or key == QtCore.Qt.Key_Space): + search = self._chart._lc.chart_space.search search.focus()