Call search focus directly
parent
0e83906f11
commit
da0cb9b2ac
|
@ -762,8 +762,7 @@ class ChartView(ViewBox):
|
||||||
# ctlr-k
|
# ctlr-k
|
||||||
if key == QtCore.Qt.Key_K and ctrl:
|
if key == QtCore.Qt.Key_K and ctrl:
|
||||||
search = self._chart._lc.chart_space.search
|
search = self._chart._lc.chart_space.search
|
||||||
search.show()
|
search.focus()
|
||||||
search.setFocus()
|
|
||||||
|
|
||||||
# esc
|
# esc
|
||||||
if key == QtCore.Qt.Key_Escape or (ctrl and key == QtCore.Qt.Key_C):
|
if key == QtCore.Qt.Key_Escape or (ctrl and key == QtCore.Qt.Key_C):
|
||||||
|
|
Loading…
Reference in New Issue