diff --git a/src/account/actions_p.cpp b/src/account/actions_p.cpp index da584f4..2226289 100644 --- a/src/account/actions_p.cpp +++ b/src/account/actions_p.cpp @@ -165,6 +165,7 @@ namespace accounts const int tokenLength = settings.value("pinLength").toInt(&ok); if (!ok || (type != "hotp" && type != "totp")) { + settings.endGroup(); continue; }