From 32c4b2ca40827fa31fc4360789625ac8aa60d059 Mon Sep 17 00:00:00 2001 From: tautology system <72765248+pleonasticTautology@users.noreply.github.com> Date: Thu, 22 Dec 2022 12:57:10 -0800 Subject: [PATCH] fixing pref bug in macOS version (#107) * fixing pref bug in macOS version * Update pesterchum.py --- pesterchum.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pesterchum.py b/pesterchum.py index 5583002..55a14a2 100755 --- a/pesterchum.py +++ b/pesterchum.py @@ -3347,7 +3347,10 @@ class PesterWindow(MovingWindow): if opvmesssetting != curopvmess: self.config.set("opvMessages", opvmesssetting) # animated smiles - animatesetting = self.optionmenu.animationscheck.isChecked() + 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)