mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-19 20:48:09 +00:00
fix(AssistantModel): set default proxy config when other account is added
This commit is contained in:
parent
a8ee12226b
commit
d94c7edfa6
1 changed files with 6 additions and 1 deletions
|
|
@ -249,7 +249,12 @@ bool AssistantModel::addOtherSipAccount (const QVariantMap &map) {
|
|||
)
|
||||
);
|
||||
|
||||
return coreManager->getAccountSettingsModel()->addOrUpdateProxyConfig(proxyConfig);
|
||||
AccountSettingsModel *accountSettingsModel = coreManager->getAccountSettingsModel();
|
||||
if (accountSettingsModel->addOrUpdateProxyConfig(proxyConfig)) {
|
||||
accountSettingsModel->setDefaultProxyConfig(proxyConfig);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue