Make text selectable in prompts
This commit is contained in:
parent
6e0d138d23
commit
64e144f3eb
@ -475,6 +475,7 @@ class _BasePrompt(QWidget):
|
||||
if question.text is not None:
|
||||
# Not doing any HTML escaping here as the text can be formatted
|
||||
text_label = QLabel(question.text)
|
||||
text_label.setTextInteractionFlags(Qt.TextSelectableByMouse)
|
||||
self._vbox.addWidget(text_label)
|
||||
|
||||
def _init_key_label(self):
|
||||
|
Loading…
Reference in New Issue
Block a user