diff --git a/share/translations/keepassxc_en.ts b/share/translations/keepassxc_en.ts index c57dfa5540..9bb69c0620 100644 --- a/share/translations/keepassxc_en.ts +++ b/share/translations/keepassxc_en.ts @@ -6846,10 +6846,6 @@ The following data is missing: Word Count: - - Character Count: - - Word Case: @@ -6862,10 +6858,6 @@ The following data is missing: Add custom wordlist - - character - - Close diff --git a/src/gui/PasswordGeneratorWidget.cpp b/src/gui/PasswordGeneratorWidget.cpp index 3bb47d2d0b..f0f48f61a8 100644 --- a/src/gui/PasswordGeneratorWidget.cpp +++ b/src/gui/PasswordGeneratorWidget.cpp @@ -277,7 +277,6 @@ void PasswordGeneratorWidget::updatePasswordStrength() PasswordHealth passwordHealth(0); if (m_ui->tabWidget->currentIndex() == Diceware) { passwordHealth.init(m_dicewareGenerator->estimateEntropy()); - m_ui->charactersInPassphraseLabel->setText(QString::number(m_ui->editNewPassword->text().length())); } else { passwordHealth = PasswordHealth(m_ui->editNewPassword->text()); } diff --git a/src/gui/PasswordGeneratorWidget.ui b/src/gui/PasswordGeneratorWidget.ui index 34dab2c36c..47f197c816 100644 --- a/src/gui/PasswordGeneratorWidget.ui +++ b/src/gui/PasswordGeneratorWidget.ui @@ -769,26 +769,6 @@ QProgressBar::chunk { - - - - Word Separator: - - - - - - - - 0 - 0 - - - - Wordlist: - - - @@ -834,29 +814,59 @@ QProgressBar::chunk { - - + + - Word Count: - - - spinBoxLength + Word Case: - - + + - Character Count: + Word Separator: - - - - Word Case: - - + + + + + + + 0 + 0 + + + + + + + + Qt::TabFocus + + + Delete selected wordlist + + + Delete selected wordlist + + + + + + + Qt::TabFocus + + + Add custom wordlist + + + Add custom wordlist + + + + @@ -878,6 +888,16 @@ QProgressBar::chunk { + + + + Word Count: + + + spinBoxLength + + + @@ -914,50 +934,16 @@ QProgressBar::chunk { - - - - - - - 0 - 0 - - - - - - - - Qt::TabFocus - - - Delete selected wordlist - - - Delete selected wordlist - - - - - - - Qt::TabFocus - - - Add custom wordlist - - - Add custom wordlist - - - - - - - + + + + + 0 + 0 + + - character + Wordlist: