diff --git a/daemon/src/managerimpl.cpp b/daemon/src/managerimpl.cpp index 5b929e70c53a0d682e576a3c3bb7ced94505d7e1..8a7054e8b8f2e18718570d1de72cd846ff157fc8 100644 --- a/daemon/src/managerimpl.cpp +++ b/daemon/src/managerimpl.cpp @@ -2507,13 +2507,12 @@ ManagerImpl::addAccount(const std::map<std::string, std::string>& details) // Add the newly created account in the account order list - newAccountID += "/"; if (not accountList.empty()) { // Prepend the new account - accountList.insert(0, newAccountID); + accountList.insert(0, newAccountID + "/"); preferences.setAccountOrder(accountList); } else { - accountList = newAccountID; + accountList = newAccountID + "/"; preferences.setAccountOrder(accountList); }