Fix password visibility button state on database open

This commit is contained in:
Balazs Gyurak 2019-06-23 19:01:58 +01:00 committed by Jonathan White
parent 11dabfa1b7
commit f66e9191a9

View File

@ -196,6 +196,7 @@ void DatabaseOpenWidget::openDatabase()
} }
m_ui->editPassword->setShowPassword(false); m_ui->editPassword->setShowPassword(false);
m_ui->buttonTogglePassword->setChecked(false);
QCoreApplication::processEvents(); QCoreApplication::processEvents();
m_db.reset(new Database()); m_db.reset(new Database());