Skip line stage when chart not yet initialized
parent
0f417f8c80
commit
9887b14518
|
@ -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