Commits

oliver_g committed 0484b87

display human-readable values (rather than raw values)

  • Participants
  • Parent commits 26b885c
  • Branches hachoir-gtk

Comments (0)

Files changed (1)

File hachoir-gtk/hachoir-gtk

     def fill_tree(self, parent, treeparent, treeStore):
         for field in parent:
             if field.hasValue():
-                #value = field.display
-                value = field.raw_display
+                value = field.display
+                #value = field.raw_display
             else:
-                value = ""
+                value = field.description
             newparent = treeStore.append(treeparent,(field.name,value))
             if field.is_field_set:
                 self.fill_tree(field, newparent, treeStore)