Skip to content

Commit

Permalink
Always hide password on unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
hifi authored and droidmonkey committed Mar 11, 2018
1 parent 2b91e4d commit d156457
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/DatabaseOpenWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d156457

Please sign in to comment.