mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-04 15:52:46 -08:00
Correctly initialize standalone PW generator mode
This commit is contained in:
1 parent
024e00cc97
commit
697f265249
1 file changed
+1
-1
@@ -885,8 +885,8 @@ void MainWindow::switchToPasswordGen(bool enabled)
|
||||
if (enabled) {
|
||||
m_ui->passwordGeneratorWidget->loadSettings();
|
||||
m_ui->passwordGeneratorWidget->regeneratePassword();
|
||||
m_ui->passwordGeneratorWidget->setStandaloneMode(true);
|
||||
m_ui->stackedWidget->setCurrentIndex(PasswordGeneratorScreen);
|
||||
m_ui->passwordGeneratorWidget->setStandaloneMode(true);
|
||||
} else {
|
||||
m_ui->passwordGeneratorWidget->saveSettings();
|
||||
switchToDatabases();
|
||||
|
||||
Reference in new issue
Block a user