diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-05 02:33:02 +0200 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2023-09-29 14:22:22 +0200 |
| commit | 505723e9dfda51f1cc496b0c3556ab0ec349ed8d (patch) | |
| tree | 35f97a321cf96c9d68a0adc703031dc13d636e08 /src/browsertab.cpp | |
| parent | 3709c3d6bd90fdb42d4ff56b244b9f6ee8124569 (diff) | |
browsertab.cpp: Use multi-line input when required
Some Gemini sites such as Station or BBS allow multi-line posts.
Diffstat (limited to 'src/browsertab.cpp')
| -rw-r--r-- | src/browsertab.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp index 237aeff..b64ab93 100644 --- a/src/browsertab.cpp +++ b/src/browsertab.cpp @@ -870,6 +870,7 @@ void BrowserTab::on_inputRequired(const QString &query, const bool is_sensitive) QInputDialog dialog{this}; dialog.setInputMode(QInputDialog::TextInput); + dialog.setOption(QInputDialog::UsePlainTextEditForTextInput); dialog.setLabelText(query); if (is_sensitive) dialog.setTextEchoMode(QLineEdit::Password); |
