From 1a5770c127c3cf39861031e9d259eee635cadcad Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 22 Jul 2021 11:23:41 -0400 Subject: [PATCH] Only hide position (extra) info on order mode exit --- piker/ui/_interaction.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piker/ui/_interaction.py b/piker/ui/_interaction.py index 286783cf..4f4b00b6 100644 --- a/piker/ui/_interaction.py +++ b/piker/ui/_interaction.py @@ -114,7 +114,7 @@ async def handle_viewmode_inputs( Qt.Key_Space, } ): - view._chart._lc.godwidget.search.focus() + view._chart.linked.godwidget.search.focus() # esc and ctrl-c if key == Qt.Key_Escape or (ctrl and key == Qt.Key_C): @@ -210,7 +210,7 @@ async def handle_viewmode_inputs( else: # none active # hide pp label - mode.pp.hide() + mode.pp.hide_info() # if none are pressed, remove "staged" level # line under cursor position