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,