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,6 +2210,9 @@ class PesterWindow(MovingWindow):
if opvmesssetting != curopvmess: if opvmesssetting != curopvmess:
self.config.set('opvMessages', opvmesssetting) self.config.set('opvMessages', opvmesssetting)
# animated smiles # animated smiles
if ostools.isOSXBundle():
animatesetting = False;
else:
animatesetting = self.optionmenu.animationscheck.isChecked() animatesetting = self.optionmenu.animationscheck.isChecked()
curanimate = self.config.animations() curanimate = self.config.animations()
if animatesetting != curanimate: if animatesetting != curanimate: