# HG changeset patch
# User Surkov Sergey <surkovsv93@gmail.com>
# Date 1498495131 -10800
# Node ID 92537edeb2052d53ba5cad8b6da8463dbc660bb1
# Parent  b5c0a10145f14b07a00ed035e420778bff57f94f
fix i18n string selection for combobox generated from XSD

diff -r b5c0a10145f1 -r 92537edeb205 editors/ConfTreeNodeEditor.py
--- a/editors/ConfTreeNodeEditor.py	Thu Jun 22 16:43:38 2017 +0300
+++ b/editors/ConfTreeNodeEditor.py	Mon Jun 26 19:38:51 2017 +0300
@@ -413,7 +413,7 @@
                         if element_infos["value"] is None:
                             combobox.SetStringSelection("")
                         else:
-                            combobox.SetStringSelection(element_infos["value"])
+                            combobox.SetStringSelection(_(element_infos["value"]))
                         combobox.Bind(wx.EVT_COMBOBOX, callback, combobox)
 
                 elif isinstance(element_infos["type"], types.DictType):