mirror of
https://github.com/jopohl/urh.git
synced 2026-03-23 00:17:00 +01:00
set txt view read only
This commit is contained in:
@@ -65,8 +65,10 @@ class DirectoryTreeView(QTreeView):
|
||||
return
|
||||
d = QDialog(self)
|
||||
d.resize(800, 600)
|
||||
d.setWindowTitle(file_path)
|
||||
layout = QVBoxLayout(d)
|
||||
text_edit = QPlainTextEdit(content)
|
||||
text_edit.setReadOnly(True)
|
||||
layout.addWidget(text_edit)
|
||||
d.setLayout(layout)
|
||||
d.show()
|
||||
|
||||
Reference in New Issue
Block a user