fix save connection password on uninitialized manager did not save
it did initialize the manager
This commit is contained in:
parent
3f41fc07c3
commit
df24564d6b
2 changed files with 10 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ bool ConnectionController::UnlockPasswordManagerIfNeeded()
|
||||||
if (m_passwordManager->initialized(user_cfg_db))
|
if (m_passwordManager->initialized(user_cfg_db))
|
||||||
{
|
{
|
||||||
if (!m_passwordManager->locked())
|
if (!m_passwordManager->locked())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
|
|
@ -269,7 +269,10 @@ bool ConnectionController::UnlockPasswordManagerIfNeeded()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
InitializePasswordManager();
|
InitializePasswordManager();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fix that when saving the password of a connection to an uninitialized password
|
||||||
|
manager the program did not save the password. It would correctly initialize
|
||||||
|
the password manager and saving worked the second time.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue