Don't access unset cursor

asyncify_input_modes
Tyler Goodlet 2021-06-16 08:28:11 -04:00
parent aabbc12b82
commit c971997f1a
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