mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-07 05:52:33 -04:00
Correctly initialize standalone PW generator mode
This commit is contained in:
parent
39af47fbf9
commit
56a5a129c6
1 changed files with 1 additions and 1 deletions
|
@ -885,8 +885,8 @@ void MainWindow::switchToPasswordGen(bool enabled)
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
m_ui->passwordGeneratorWidget->loadSettings();
|
m_ui->passwordGeneratorWidget->loadSettings();
|
||||||
m_ui->passwordGeneratorWidget->regeneratePassword();
|
m_ui->passwordGeneratorWidget->regeneratePassword();
|
||||||
m_ui->passwordGeneratorWidget->setStandaloneMode(true);
|
|
||||||
m_ui->stackedWidget->setCurrentIndex(PasswordGeneratorScreen);
|
m_ui->stackedWidget->setCurrentIndex(PasswordGeneratorScreen);
|
||||||
|
m_ui->passwordGeneratorWidget->setStandaloneMode(true);
|
||||||
} else {
|
} else {
|
||||||
m_ui->passwordGeneratorWidget->saveSettings();
|
m_ui->passwordGeneratorWidget->saveSettings();
|
||||||
switchToDatabases();
|
switchToDatabases();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue