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