no "i" variable anymore
This commit is contained in:
parent
d9eb8e1afb
commit
b9086f1023
@ -1019,7 +1019,7 @@ class PlotItem(GraphicsWidget):
|
|||||||
if numCurves != -1:
|
if numCurves != -1:
|
||||||
if self.ctrl.forgetTracesCheck.isChecked():
|
if self.ctrl.forgetTracesCheck.isChecked():
|
||||||
curve.clear()
|
curve.clear()
|
||||||
self.removeItem(curves[i])
|
self.removeItem(curve)
|
||||||
else:
|
else:
|
||||||
curve.hide()
|
curve.hide()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user