diff --git a/piker/ui/_editors.py b/piker/ui/_editors.py index c54a5ddf..7026282d 100644 --- a/piker/ui/_editors.py +++ b/piker/ui/_editors.py @@ -122,6 +122,8 @@ class LineEditor: """ # chart.setCursor(QtCore.Qt.PointingHandCursor) + if not self.chart._cursor: + return None chart = self.chart._cursor.active_plot cursor = chart._cursor