From d3402f715bf4163a3a986a8064e5575b3ce68abf Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 6 Sep 2022 14:24:19 -0400 Subject: [PATCH] Set godwidget active cursor from xhair callback --- piker/ui/_cursor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/piker/ui/_cursor.py b/piker/ui/_cursor.py index 606ff3f2..366788b4 100644 --- a/piker/ui/_cursor.py +++ b/piker/ui/_cursor.py @@ -491,6 +491,7 @@ class Cursor(pg.GraphicsObject): log.debug(f"{(action, plot.name)}") if action == 'Enter': self.active_plot = plot + plot.linked.godwidget._active_cursor = self # show horiz line and y-label self.graphics[plot]['hl'].show()