1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-06-25 06:52:28 +00:00

Fix am issue with page stack titles when navigationg the password list

This commit is contained in:
2025-01-14 13:57:29 +01:00
parent fd3ab95b27
commit 00116aea8c
6 changed files with 40 additions and 40 deletions

View File

@ -8,10 +8,6 @@ import QtQuick 2.4
Component {
Rectangle {
id: fileDir
property string activePasswordName
anchors.right: parent.right
anchors.left: parent.left
height: units.gu(5)
@ -40,17 +36,8 @@ Component {
if (fileIsDir) {
folderModel.folder = folderModel.folder + "/" + fileName;
backAction.visible = true;
passwordListHeader.title = fileName;
} else {
fileDir.activePasswordName = fileBaseName;
Pass.onDecrypted.connect(function(text) {
pageStack.push(Qt.resolvedUrl("../pages/Password.qml"), {
"plainText": text,
"title": fileDir.activePasswordName
});
});
Pass.onDecryptFailed.connect(function() {
PopupUtils.open(passwordPageDecryptError);
});
Pass.show(folderModel.folder + "/" + fileName);
}
}