diff --git a/gui/graphFrame.py b/gui/graphFrame.py index b0f565538..c706be6d7 100644 --- a/gui/graphFrame.py +++ b/gui/graphFrame.py @@ -187,7 +187,7 @@ class GraphFrame(wx.Frame): def removeItem(self, event): row, _ = self.fitList.fitList.HitTest(event.Position) if row != -1: - self.fits.remove(row) + del self.fits[row] self.fitList.fitList.update(self.fits) self.draw()