From 50cfab864994a8070386ec539e43ce677c481710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20B=C3=B6lter?= Date: Sat, 20 Nov 2010 22:22:21 +0100 Subject: [PATCH] Fixed silly oversight from cncfanatics :O --- gui/graphFrame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/graphFrame.py b/gui/graphFrame.py index 908ed23f3..0f9a202cf 100644 --- a/gui/graphFrame.py +++ b/gui/graphFrame.py @@ -88,12 +88,12 @@ class GraphFrame(wx.Frame): self.select(0) self.fitList.fitList.Bind(wx.EVT_LEFT_DCLICK, self.removeItem) - self.mainFrame.Bind(gui.fittingView.FIT_CHANGED, self.draw) + self.mainFrame.Bind(gui.builtinViews.fittingView.FIT_CHANGED, self.draw) self.Bind(wx.EVT_CLOSE, self.close) def close(self, event): self.fitList.fitList.Unbind(wx.EVT_LEFT_DCLICK, handler=self.removeItem) - self.mainFrame.Unbind(gui.fittingView.FIT_CHANGED, handler=self.draw) + self.mainFrame.Unbind(gui.builtinViews.fittingView.FIT_CHANGED, handler=self.draw) event.Skip() def getView(self):