Don't access unset cursor

backup_asyncify_input_modes
Tyler Goodlet 2021-06-16 08:28:11 -04:00
parent 5c93c2b42f
commit 29d3ad59dc
1 changed files with 2 additions and 0 deletions

View File

@ -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