Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit fb0d810b authored by Laurent Montel's avatar Laurent Montel 😁

Fix setDefault

parent 06a5ad3a
......@@ -309,11 +309,11 @@ void IdentityManager::readConfig( KConfig *config )
identity.readConfig( configGroup );
//Don't load invalid identity
if (!identity.isNull() && !identity.primaryEmailAddress().isEmpty()) {
mIdentities << identity;
if ( !haveDefault && identity.uoid() == defaultIdentity ) {
haveDefault = true;
identity.setIsDefault( true );
}
mIdentities << identity;
}
}
......
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