fixing pref bug in macOS version (#107)

* fixing pref bug in macOS version

* Update pesterchum.py
This commit is contained in:
tautology system 2022-12-22 12:57:10 -08:00 committed by GitHub
parent 440c57226c
commit 32c4b2ca40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3347,7 +3347,10 @@ class PesterWindow(MovingWindow):
if opvmesssetting != curopvmess:
self.config.set("opvMessages", opvmesssetting)
# animated smiles
if hasattr(self.optionmenu, "animationscheck"):
animatesetting = self.optionmenu.animationscheck.isChecked()
else:
animatesetting = False
curanimate = self.config.animations()
if animatesetting != curanimate:
self.config.set("animations", animatesetting)