Minor UI fixes

* Fixes #11044 - password generator excluded characters tooltip was incorrect

* Fixes #11084 - allow more than 30 days for showing expiring passwords. Also fix the ability to properly translate this control.

* Fixes #11212 - don't show password on creating new database

* Fixes #10726 - improve indication of hardware key polling. Also improve layout spacing of unlock dialog.

* Fixes #11142 - provide better link for challenge-response information
This commit is contained in:
Jonathan White 2024-10-07 17:48:40 -04:00
parent 673bdbcf3c
commit 94eb3ffa7a
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
7 changed files with 42 additions and 60 deletions

View file

@ -259,6 +259,7 @@ void DatabaseOpenWidget::clearForms()
m_ui->keyFileLineEdit->setShowPassword(false);
m_ui->keyFileLineEdit->setClearButtonEnabled(true);
m_ui->hardwareKeyCombo->clear();
toggleHardwareKeyComponent(false);
toggleQuickUnlockScreen();
m_db.reset(new Database(m_filename));
@ -523,6 +524,7 @@ void DatabaseOpenWidget::pollHardwareKey(bool manualTrigger)
}
m_ui->hardwareKeyCombo->setEnabled(false);
m_ui->useHardwareKeyCheckBox->setEnabled(false);
m_ui->hardwareKeyProgress->setVisible(true);
m_ui->refreshHardwareKeys->setEnabled(false);
m_ui->noHardwareKeysFoundLabel->setVisible(false);
@ -537,6 +539,7 @@ void DatabaseOpenWidget::pollHardwareKey(bool manualTrigger)
void DatabaseOpenWidget::hardwareKeyResponse(bool found)
{
m_ui->useHardwareKeyCheckBox->setEnabled(true);
m_ui->hardwareKeyProgress->setVisible(false);
m_ui->refreshHardwareKeys->setEnabled(true);
m_ui->hardwareKeyCombo->clear();