editors/ConfTreeNodeEditor.py
changeset 1282 f427352f9727
parent 1281 47131e3388f4
child 1315 ff14a66bbd12
--- a/editors/ConfTreeNodeEditor.py	Fri Aug 02 08:55:45 2013 +0900
+++ b/editors/ConfTreeNodeEditor.py	Fri Aug 02 08:58:09 2013 +0900
@@ -316,7 +316,11 @@
             else:
                 element_path = element_infos["name"]
             if element_infos["type"] == "element":
-                label = element_infos["name"]
+                name = element_infos["name"]
+                value = element_infos["value"]
+                label = _(name)
+                if value is not None:
+                    label += " - %s" % _(value)
                 staticbox = wx.StaticBox(self.ParamsEditor, 
                       label=_(label), size=wx.Size(10, 0))
                 staticboxsizer = wx.StaticBoxSizer(staticbox, wx.VERTICAL)