This call fails on Linux. Application is Linux-compatible with this fix.

This commit is contained in:
2021-06-23 11:52:06 +02:00
parent faa913fcd7
commit e5da0c87ed
+4 -1
View File
@@ -37,7 +37,10 @@ class HelmholtzGUI(Tk):
Tk.__init__(self)
Tk.wm_title(self, "Helmholtz Cage Control") # set title of the window
Tk.wm_iconbitmap(self, "Helmholtz.ico") # set application icon
try:
Tk.wm_iconbitmap(self, "Helmholtz.ico") # set application icon
except TclError:
pass
self.Menu = TopMenu(self) # display dropdown menu bar at the top (see TopMenu class for details)