Fixed options crash

Was checking for animationscheck which didn't exist. No longer is in OSX
bundles.
This commit is contained in:
Lexi 2011-09-18 16:23:22 +08:00 committed by Kiooeht
parent 298c1b49cd
commit cb70650545

View file

@ -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)