From 5e1d2a7dac2191fc98f5bec32b95db3413d823fa Mon Sep 17 00:00:00 2001 From: Camila Date: Tue, 12 Sep 2023 14:54:31 +0200 Subject: [PATCH] Migrates all legacy accounts. Signed-off-by: Camila --- src/gui/accountmanager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/accountmanager.cpp b/src/gui/accountmanager.cpp index 520cd886ed..51630d0a95 100644 --- a/src/gui/accountmanager.cpp +++ b/src/gui/accountmanager.cpp @@ -253,10 +253,11 @@ bool AccountManager::restoreFromLegacySettings() addAccount(acc); QMessageBox::information(nullptr, tr("Legacy import"), - tr("Successfully imported account from legacy client: %1").arg(acc->prettyName())); - return true; + tr("Successfully imported account from legacy client: %1").arg(acc->prettyName())); } + settings->endGroup(); } + return true; } QMessageBox::information(nullptr,