use get_config instead of passing window to ScanQRTextEdit
This commit is contained in:
@@ -200,7 +200,7 @@ def text_dialog(parent, title, label, ok_label, default=None):
|
||||
l = QVBoxLayout()
|
||||
dialog.setLayout(l)
|
||||
l.addWidget(QLabel(label))
|
||||
txt = ScanQRTextEdit(parent)
|
||||
txt = ScanQRTextEdit()
|
||||
if default:
|
||||
txt.setText(default)
|
||||
l.addWidget(txt)
|
||||
|
||||
Reference in New Issue
Block a user