chiark / gitweb /
Fix problems with german support selection.
authordaid <daid303@gmail.com>
Mon, 27 Oct 2014 12:36:09 +0000 (13:36 +0100)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Wed, 14 Jan 2015 17:07:52 +0000 (12:07 -0500)
Cura/gui/configBase.py

index 0c211c845c1f0e2d4d71d08c7d9ffbef6a5e8827..7b3c0752c9904cf4f09c8b15f988668291088609 100644 (file)
@@ -204,7 +204,7 @@ class SettingRow(object):
                if isinstance(self.ctrl, wx.ColourPickerCtrl):
                        return str(self.ctrl.GetColour().GetAsString(wx.C2S_HTML_SYNTAX))
                elif isinstance(self.ctrl, wx.ComboBox):
-                       value = str(self.ctrl.GetValue())
+                       value = unicode(self.ctrl.GetValue())
                        for ret in self._englishChoices:
                                if _(ret) == value:
                                        return ret