Avoid hiding QR codes with help_text
In some situations, if a QR code's data and help_text were too long, the QR code was unscannable.
This commit is contained in:
@@ -118,6 +118,7 @@ class QRDialog(WindowModalDialog):
|
||||
|
||||
help_text = data if show_text else help_text
|
||||
if help_text:
|
||||
qr_hbox.setContentsMargins(0, 0, 0, 44)
|
||||
text_label = WWLabel()
|
||||
text_label.setText(help_text)
|
||||
vbox.addWidget(text_label)
|
||||
|
||||
Reference in New Issue
Block a user