From d156457405c0e61eec88e91858e7854b72826f4f Mon Sep 17 00:00:00 2001 From: Toni Spets Date: Sat, 10 Mar 2018 16:01:53 +0200 Subject: [PATCH] Always hide password on unlock Fixes #1692 --- src/gui/DatabaseOpenWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/DatabaseOpenWidget.cpp b/src/gui/DatabaseOpenWidget.cpp index 3af0c6e8f..d011e8b63 100644 --- a/src/gui/DatabaseOpenWidget.cpp +++ b/src/gui/DatabaseOpenWidget.cpp @@ -173,6 +173,9 @@ void DatabaseOpenWidget::openDatabase() return; } + m_ui->editPassword->setShowPassword(false); + QCoreApplication::processEvents(); + QFile file(m_filename); if (!file.open(QIODevice::ReadOnly)) { m_ui->messageWidget->showMessage(