mirror of
https://github.com/QRouland/UTPass.git
synced 2025-02-11 15:07:16 +00:00
Fix main page not reloading on imports
This commit is contained in:
parent
bcc6d7c316
commit
c106bbec19
@ -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");
|
||||
|
@ -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"
|
||||
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user