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 22:48:24 +0200
commite0b4250c8356f8cb66eb9cca537a84293d21c4b9 (patch)
treea3210eaef826bf20712621124c91d3ffe9e57b3e /src
parent68c46584d1db00dd264a0cb0592a9a309e27af18 (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();