diff --git a/plugins/Pass/pass.cpp b/plugins/Pass/pass.cpp index 5c4db4e..d9df785 100644 --- a/plugins/Pass/pass.cpp +++ b/plugins/Pass/pass.cpp @@ -109,6 +109,7 @@ bool Pass::deletePasswordStore() void Pass::slotDeletePasswordStoreResult(bool err) { + this->initPasswordStore(); // reinit an empty password-store if (err) { qInfo() << "[Pass] delete Password Store Failed"; emit deletePasswordStoreFailed("failed to delete password store"); diff --git a/po/utpass.qrouland.pot b/po/utpass.qrouland.pot index 9affc29..39d543d 100644 --- a/po/utpass.qrouland.pot +++ b/po/utpass.qrouland.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: utpass.qrouland\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-04 14:44+0000\n" +"POT-Creation-Date: 2025-02-04 17:18+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/qml/pages/settings/DeleteRepo.qml b/qml/pages/settings/DeleteRepo.qml index 0fd91e3..aead819 100644 --- a/qml/pages/settings/DeleteRepo.qml +++ b/qml/pages/settings/DeleteRepo.qml @@ -77,8 +77,8 @@ Page { SuccessDialog { textSuccess: i18n.tr("Password Store deleted !") onDialogClosed: { - pageStack.pop(); - pageStack.pop(); + pageStack.clear(); + pageStack.push(Qt.resolvedUrl("../PasswordList.qml")); } } diff --git a/qml/pages/settings/ImportZip.qml b/qml/pages/settings/ImportZip.qml index bf5369f..604268b 100644 --- a/qml/pages/settings/ImportZip.qml +++ b/qml/pages/settings/ImportZip.qml @@ -87,8 +87,8 @@ Page { SuccessDialog { textSuccess: i18n.tr("Password store sucessfully imported !") onDialogClosed: { - pageStack.pop(); - pageStack.pop(); + pageStack.clear(); + pageStack.push(Qt.resolvedUrl("../PasswordList.qml")); } } diff --git a/qml/pages/settings/InfoKeys.qml b/qml/pages/settings/InfoKeys.qml index f9c51ba..57aa657 100644 --- a/qml/pages/settings/InfoKeys.qml +++ b/qml/pages/settings/InfoKeys.qml @@ -121,7 +121,7 @@ Page { width: parent.width horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter - text: i18n.tr('Users IDs : ') + text: i18n.tr('User IDs : ') color: theme.palette.normal.backgroundText } diff --git a/qml/pages/settings/git/ImportGitClone.qml b/qml/pages/settings/git/ImportGitClone.qml index e36abca..b79e675 100644 --- a/qml/pages/settings/git/ImportGitClone.qml +++ b/qml/pages/settings/git/ImportGitClone.qml @@ -77,8 +77,8 @@ Page { SuccessDialog { textSuccess: i18n.tr("Password store sucessfully imported !") onDialogClosed: { - pageStack.pop(); - pageStack.pop(); + pageStack.clear(); + pageStack.push(Qt.resolvedUrl("../../PasswordList.qml")); } }