diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/examples/kaitai/view.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/examples/kaitai/view.py b/python/examples/kaitai/view.py index 30a088ca..a30140c0 100644 --- a/python/examples/kaitai/view.py +++ b/python/examples/kaitai/view.py @@ -253,7 +253,10 @@ class KaitaiView(QScrollArea, View): itemTmp = item while itemTmp.parent(): itemTmp = itemTmp.parent() - structPath = itemTmp.label + '.' + structPath + label = itemTmp.label + if label.startswith('_m_'): + label = label[3:] + structPath = label + '.' + structPath self.structPath.setText('root.' + structPath) # |
