1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-02-11 06:57:15 +00:00

Fix main page not reloading on imports

This commit is contained in:
Quentin Rouland 2025-02-04 17:27:01 +01:00
parent bcc6d7c316
commit c106bbec19
6 changed files with 9 additions and 8 deletions

View File

@ -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");

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View File

@ -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"));
}
}

View File

@ -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"));
}
}

View File

@ -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
}

View File

@ -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"));
}
}