Don't access unset cursor
parent
5c93c2b42f
commit
29d3ad59dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue