Support ctrl-space to open search pane

symbol_search
Tyler Goodlet 2021-05-19 08:46:51 -04:00
parent d8a200aadc
commit 64c1d9a965
1 changed files with 3 additions and 2 deletions

View File

@ -759,8 +759,9 @@ class ChartView(ViewBox):
if mods == QtCore.Qt.AltModifier: if mods == QtCore.Qt.AltModifier:
pass pass
# ctlr-l for "lookup" -> open search / lists # ctlr-<space>/<l> for "lookup", "search" -> open search tree
if ctrl and key == QtCore.Qt.Key_L: if ctrl and (key == QtCore.Qt.Key_L or key == QtCore.Qt.Key_Space):
search = self._chart._lc.chart_space.search search = self._chart._lc.chart_space.search
search.focus() search.focus()