avoid calling setAccountConfig when changing displayName

Change-Id: Ic8fa5ac8bd776b9b3b0746d458ec2a36f5cafeb9
This commit is contained in:
Adrien Béraud
2025-12-09 10:02:06 -05:00
parent e12a7e69cf
commit 931f2d6d8e

View File

@@ -296,11 +296,6 @@ LRCInstance::setCurrAccDisplayName(const QString& displayName)
{
auto accountId = get_currentAccountId();
accountModel().setAlias(accountId, displayName);
/*
* Force save to .yml.
*/
auto confProps = accountModel().getAccountConfig(accountId);
accountModel().setAccountConfig(accountId, confProps);
}
const account::ConfProperties_t&