mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-30 05:43:05 -08:00
Fix new password generator closed reply with Browser Integration (#7359)
This commit is contained in:
1 parent
4f0710350f
commit
6791024995
3 files changed
+15
-4
No files matched your search
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2013 Felix Geyer <[email protected]>
|
||||
* Copyright (C) 2021 KeePassXC Team <[email protected]>
|
||||
* Copyright (C) 2022 KeePassXC Team <[email protected]>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -294,6 +294,7 @@ void PasswordGeneratorWidget::updatePasswordStrength(const QString& password)
|
||||
void PasswordGeneratorWidget::applyPassword()
|
||||
{
|
||||
saveSettings();
|
||||
m_passwordGenerated = true;
|
||||
emit appliedPassword(m_ui->editNewPassword->text());
|
||||
emit closed();
|
||||
}
|
||||
@@ -341,6 +342,11 @@ bool PasswordGeneratorWidget::isPasswordVisible() const
|
||||
return m_ui->editNewPassword->isPasswordVisible();
|
||||
}
|
||||
|
||||
bool PasswordGeneratorWidget::isPasswordGenerated() const
|
||||
{
|
||||
return m_passwordGenerated;
|
||||
}
|
||||
|
||||
void PasswordGeneratorWidget::deleteWordList()
|
||||
{
|
||||
if (m_ui->comboBoxWordList->currentIndex() < m_firstCustomWordlistIndex) {
|
||||
|
||||
Reference in new issue
Block a user