From cb70650545b65dac63d9f720d68da677c9544803 Mon Sep 17 00:00:00 2001 From: Lexi Date: Sun, 18 Sep 2011 16:23:22 +0800 Subject: [PATCH] Fixed options crash Was checking for animationscheck which didn't exist. No longer is in OSX bundles. --- pesterchum.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pesterchum.py b/pesterchum.py index b5fdb56..a3e7cbc 100644 --- a/pesterchum.py +++ b/pesterchum.py @@ -2210,7 +2210,10 @@ class PesterWindow(MovingWindow): if opvmesssetting != curopvmess: self.config.set('opvMessages', opvmesssetting) # animated smiles - animatesetting = self.optionmenu.animationscheck.isChecked() + if ostools.isOSXBundle(): + animatesetting = False; + else: + animatesetting = self.optionmenu.animationscheck.isChecked() curanimate = self.config.animations() if animatesetting != curanimate: self.config.set('animations', animatesetting)