From 64e144f3eb0fc0a14b06293b99423389c22e1c0a Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 1 May 2017 13:52:46 +0200 Subject: [PATCH] Make text selectable in prompts --- qutebrowser/mainwindow/prompt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/mainwindow/prompt.py b/qutebrowser/mainwindow/prompt.py index 358bcc80b..db91cc71a 100644 --- a/qutebrowser/mainwindow/prompt.py +++ b/qutebrowser/mainwindow/prompt.py @@ -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):