Commit d94c7edf authored by Ronan's avatar Ronan

fix(AssistantModel): set default proxy config when other account is added

parent a8ee1222
......@@ -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;
}
// -----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment