diff --git a/src/gui/PasswordGeneratorWidget.cpp b/src/gui/PasswordGeneratorWidget.cpp index 1fd6cc972..d398b5c9b 100644 --- a/src/gui/PasswordGeneratorWidget.cpp +++ b/src/gui/PasswordGeneratorWidget.cpp @@ -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); }