Fix excluding characters in password generator

* Fixes #7451
This commit is contained in:
Jonathan White
2022-02-23 17:57:52 -05:00
parent 7284a8062a
commit f3b0fe46b4

View File

@@ -586,7 +586,7 @@ void PasswordGeneratorWidget::updateGenerator()
if (m_ui->buttonAdvancedMode->isChecked()) {
m_passwordGenerator->setCharClasses(classes);
m_passwordGenerator->setCustomCharacterSet(m_ui->editAdditionalChars->text());
m_passwordGenerator->setCustomCharacterSet(m_ui->editExcludedChars->text());
m_passwordGenerator->setExcludedCharacterSet(m_ui->editExcludedChars->text());
} else {
m_passwordGenerator->setCharClasses(classes);
}