From c6d7a025ffbcb768e66ca1f9f38dff6e497ba1bb Mon Sep 17 00:00:00 2001 From: Quentin Rouland Date: Mon, 19 Jun 2023 14:58:09 -0400 Subject: [PATCH] Fix loading password before Pass plugin init --- qml/Main.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/qml/Main.qml b/qml/Main.qml index 776d424..afdbf26 100644 --- a/qml/Main.qml +++ b/qml/Main.qml @@ -19,6 +19,7 @@ MainView { function initPass(rootView) { Pass.init(rootView) + pageStack.push(Qt.resolvedUrl("pages/PasswordList.qml")); } function callPassphraseDialog(useridHint, description, previousWasBad) { @@ -43,8 +44,6 @@ MainView { id: pageStack anchors.fill: parent - Component.onCompleted: { - pageStack.push(Qt.resolvedUrl("pages/PasswordList.qml")) - } + Component.onCompleted: {} } }