diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/extensions/lettering.py | 6 | ||||
| -rw-r--r-- | lib/extensions/params.py | 7 |
2 files changed, 0 insertions, 13 deletions
diff --git a/lib/extensions/lettering.py b/lib/extensions/lettering.py index c0072644..fec48100 100644 --- a/lib/extensions/lettering.py +++ b/lib/extensions/lettering.py @@ -100,12 +100,6 @@ class LetteringFrame(wx.Frame): self.load_settings() self.apply_settings() - def InitLocale(self): - # This is necessary because of https://github.com/inkstitch/inkstitch/issues/1186 - if sys.platform.startswith('win'): - import locale - locale.setlocale(locale.LC_ALL, "C") - def load_settings(self): """Load the settings saved into the SVG group element""" diff --git a/lib/extensions/params.py b/lib/extensions/params.py index 12d38232..540cc7bb 100644 --- a/lib/extensions/params.py +++ b/lib/extensions/params.py @@ -472,13 +472,6 @@ 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'): - import locale - locale.setlocale(locale.LC_ALL, "C") - lc = wx.Locale() - lc.Init(wx.LANGUAGE_DEFAULT) - self.tabs_factory = kwargs.pop('tabs_factory', []) self.cancel_hook = kwargs.pop('on_cancel', None) self.metadata = kwargs.pop('metadata', []) |
