From 3eecd579790b9bb82d4f11b335032cafe3b30394 Mon Sep 17 00:00:00 2001 From: Neugeniko Date: Wed, 28 Feb 2018 03:17:37 +1100 Subject: [PATCH] Update graphFrame.py --- gui/graphFrame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/graphFrame.py b/gui/graphFrame.py index a0c70e983..a36c9c66a 100644 --- a/gui/graphFrame.py +++ b/gui/graphFrame.py @@ -170,8 +170,8 @@ class GraphFrame(wx.Frame): self.AppendFitToList(fitID) def close(self, event): - self.fitList.fitList.Unbind(wx.EVT_LEFT_DCLICK) - self.mainFrame.Unbind(GE.FIT_CHANGED) + self.fitList.fitList.Unbind(wx.EVT_LEFT_DCLICK, handler=self.removeItem) + self.mainFrame.Unbind(GE.FIT_CHANGED, handler=self.draw) event.Skip() def getView(self):