Fix an oopsie in the Destroy method

This commit is contained in:
cncfanatics
2010-11-17 15:33:42 +01:00
parent 5f2d1a4f5c
commit 1ebf7cab47

View File

@@ -102,6 +102,7 @@ class FittingView(d.Display):
def Destroy(self):
self.parent.Unbind(gui.chromeTabs.EVT_NOTEBOOK_PAGE_CHANGED, handler=self.pageChanged)
d.Display.Destroy(self)
def pageChanged(self, event):
if self.parent.IsActive(self):