summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClaus Lensbøl <cmol@cmol.dk>2020-06-12 19:02:34 +0200
committerClaus Lensbøl <cmol@cmol.dk>2020-06-12 19:02:34 +0200
commitce4cbde592fc6a57bbacf85e963432b53ab9bd33 (patch)
treea3210eaef826bf20712621124c91d3ffe9e57b3e /src
parent816c051f1d99a5399fc07cfa9f613e9d25fcda02 (diff)
Show passwords as monospace
Fixes #514
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 9ce04305..0f838897 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -390,7 +390,7 @@ void MainWindow::passShowHandler(const QString &p_output) {
} else {
if (!password.isEmpty()) {
// set the password, it is hidden if needed in addToGridLayout
- addToGridLayout(0, tr("Password"), password);
+ addToGridLayout(0, tr("Password"), "<tt>" + password + "</tt>");
}
NamedValues namedValues = fileContent.getNamedValues();