Commit 30ae50b1b29bb0d9c331971f0190fe7b5332e12b
Committed by
GitHub
1 parent
4aea8c23
Exists in
master
FIX: Locale problem crashing with Windows 10 and certain locales (#283)
- FIX: Locale problem crashing with Windows 10 and certain locales (closes #283). Fix locale problem by calling self.ResetLocale() instead Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app.py
@@ -106,6 +106,7 @@ class InVesalius(wx.App): | @@ -106,6 +106,7 @@ class InVesalius(wx.App): | ||
106 | from multiprocessing import freeze_support | 106 | from multiprocessing import freeze_support |
107 | freeze_support() | 107 | freeze_support() |
108 | 108 | ||
109 | + self.ResetLocale() | ||
109 | self.SetAppName("InVesalius 3") | 110 | self.SetAppName("InVesalius 3") |
110 | self.splash = Inv3SplashScreen() | 111 | self.splash = Inv3SplashScreen() |
111 | self.splash.Show() | 112 | self.splash.Show() |
-
mentioned in commit e16f2fe9c0c61076c2113e87b43c2f01e70c50a9