Skip line stage when chart not yet initialized
parent
da3f149646
commit
4ce6edae70
|
@ -111,6 +111,10 @@ class LineEditor:
|
||||||
and return it.
|
and return it.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
if self.chart is None:
|
||||||
|
log.error('No chart interaction yet available')
|
||||||
|
return None
|
||||||
|
|
||||||
# chart.setCursor(QtCore.Qt.PointingHandCursor)
|
# chart.setCursor(QtCore.Qt.PointingHandCursor)
|
||||||
cursor = self.chart.linked.cursor
|
cursor = self.chart.linked.cursor
|
||||||
if not cursor:
|
if not cursor:
|
||||||
|
|
Loading…
Reference in New Issue