diff options
author | Andrew MacFie <amacfie@sent.com> | 2021-02-01 15:52:12 -0500 |
---|---|---|
committer | Andrew MacFie <amacfie@sent.com> | 2021-02-01 16:12:08 -0500 |
commit | 840f2605486a0278b32ec57a224fa3e77a603b41 (patch) | |
tree | 4dfc557d5c074dd95d8919c9f102340c878d0025 /qutebrowser/mainwindow | |
parent | 9a5fe232cd2c59128141261435c4b3ff7fd9be43 (diff) | |
download | qutebrowser-840f2605486a0278b32ec57a224fa3e77a603b41.tar.gz qutebrowser-840f2605486a0278b32ec57a224fa3e77a603b41.zip |
Wrap and render newlines in JS dialogs
Diffstat (limited to 'qutebrowser/mainwindow')
-rw-r--r-- | qutebrowser/mainwindow/prompt.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qutebrowser/mainwindow/prompt.py b/qutebrowser/mainwindow/prompt.py index 419355884..485f713d0 100644 --- a/qutebrowser/mainwindow/prompt.py +++ b/qutebrowser/mainwindow/prompt.py @@ -521,6 +521,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.setWordWrap(True) text_label.setTextInteractionFlags(Qt.TextSelectableByMouse) self._vbox.addWidget(text_label) |