Commit 1fb8e3e7 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(AccountSettingsModel): test if identity address of proxy config is valid

parent 659a6a5f
......@@ -136,7 +136,11 @@ bool AccountSettingsModel::addOrUpdateProxyConfig (
return false;
}
proxyConfig->setIdentityAddress(address);
if (proxyConfig->setIdentityAddress(address)) {
qWarning() << QStringLiteral("Unable to set identity address: `%1`.")
.arg(::Utils::coreStringToAppString(address->asStringUriOnly()));
return false;
}
}
// Server address.
......
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