Make text selectable in prompts

This commit is contained in:
Florian Bruhin 2017-05-01 13:52:46 +02:00
parent 6e0d138d23
commit 64e144f3eb

View File

@ -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):