From ff5e8c98522f6121bb7a7bc6fed5b8b1be3e6a8f Mon Sep 17 00:00:00 2001 From: John Date: Thu, 9 Jul 2015 17:38:22 +0300 Subject: [PATCH] Extra Options Page properly unloads now --- toontown/shtiker/OptionsPage.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/toontown/shtiker/OptionsPage.py b/toontown/shtiker/OptionsPage.py index fb345afe..ebe40404 100755 --- a/toontown/shtiker/OptionsPage.py +++ b/toontown/shtiker/OptionsPage.py @@ -195,7 +195,8 @@ class OptionsPage(ShtikerPage.ShtikerPage): def exit(self): self.optionsTabPage.exit() self.codesTabPage.exit() - + self.extraOptionsTabPage.exit() + ShtikerPage.ShtikerPage.exit(self) def unload(self): @@ -218,6 +219,10 @@ class OptionsPage(ShtikerPage.ShtikerPage): if self.codesTab is not None: self.codesTab.destroy() self.codesTab = None + + if self.extraOptionsTab is not None: + self.extraOptionsTab.destroy() + self.extraOptionsTab = None ShtikerPage.ShtikerPage.unload(self) @@ -761,6 +766,7 @@ class ExtraOptionsTabPage(DirectFrame): del self.cogInterface_label self.cogInterface_toggleButton.destroy() del self.cogInterface_toggleButton + self.destroyReportNotice() def __doFov(self): fov = self.fov_slider['value']