summaryrefslogtreecommitdiff
path: root/python/examples
diff options
context:
space:
mode:
authorAndrew Lamoureux <andrew@vector35.com>2019-03-22 16:41:29 -0400
committerAndrew Lamoureux <andrew@vector35.com>2019-03-22 16:41:29 -0400
commitec16360da23169b84ec2c7345970fdcdfe75e179 (patch)
treea2115fd5f59c32a8bb52932da399d0825f149f59 /python/examples
parent9c2834f6ee409c0f8737198d789e4395f65dd465 (diff)
kaitai: allow selection of structPath text
(field was disabled, now it's just read-only)
Diffstat (limited to 'python/examples')
-rw-r--r--python/examples/kaitai/view.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/kaitai/view.py b/python/examples/kaitai/view.py
index ec4b3c0e..30a088ca 100644
--- a/python/examples/kaitai/view.py
+++ b/python/examples/kaitai/view.py
@@ -121,7 +121,7 @@ class KaitaiView(QScrollArea, View):
self.treeWidget.itemSelectionChanged.connect(self.onTreeSelect)
self.structPath = QLineEdit("root")
- self.structPath.setDisabled(True)
+ self.structPath.setReadOnly(True)
self.hexWidget = HexEditor(binaryView, ViewFrame.viewFrameForWidget(self), 0)