mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-20 10:45:33 -05:00
permit only wordcount > 0
This commit is contained in:
parent
044feea23a
commit
1d32695f10
3 changed files with 9 additions and 3 deletions
|
|
@ -340,7 +340,7 @@ void PasswordGeneratorWidget::updateGenerator()
|
|||
m_ui->buttonGenerate->setEnabled(false);
|
||||
}
|
||||
} else {
|
||||
int minWordCount = 0;
|
||||
int minWordCount = 1;
|
||||
|
||||
if (m_ui->spinBoxWordCount->value() < minWordCount) {
|
||||
m_updatingSpinBox = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue