summaryrefslogtreecommitdiff
path: root/lib/extensions/params.py
diff options
context:
space:
mode:
authorKaalleen <reni@allenka.de>2021-06-24 22:25:13 +0200
committerKaalleen <reni@allenka.de>2021-06-24 22:25:13 +0200
commitd6df8084f4a0fe8c8e174ea230d158512bd8f094 (patch)
treea0c000b5c37e7211bbb42e1f8198e96262dcd9cc /lib/extensions/params.py
parent1adfa87a68be6bcc92d9521b97ab59dc022ab3be (diff)
add start markers, add troubleshoot pattern warning and fix wxpython language issue
Diffstat (limited to 'lib/extensions/params.py')
-rw-r--r--lib/extensions/params.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/extensions/params.py b/lib/extensions/params.py
index 40494ec7..7775aed1 100644
--- a/lib/extensions/params.py
+++ b/lib/extensions/params.py
@@ -331,9 +331,11 @@ class ParamsTab(ScrolledPanel):
class SettingsFrame(wx.Frame):
def __init__(self, *args, **kwargs):
# This is necessary because of https://github.com/inkstitch/inkstitch/issues/1186
- if sys.platform.startswith('win'):
+ if sys.platform.startswith('win32'):
import locale
locale.setlocale(locale.LC_ALL, "C")
+ lc = wx.Locale()
+ lc.Init(wx.LANGUAGE_DEFAULT)
# begin wxGlade: MyFrame.__init__
self.tabs_factory = kwargs.pop('tabs_factory', [])