commit 3477272e969567d1cd315be553511576059c2c4f
parent 15df9b1bf2c31b5b3420b8a09d2b5a7380914249
Author: Willy Goiffon <contact@z3bra.org>
Date: Tue, 13 Jul 2021 19:12:42 +0200
Add ability to lock safe
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/qml/components/GlobalPullDownMenu.qml b/qml/components/GlobalPullDownMenu.qml
@@ -42,9 +42,13 @@ PullDownMenu {
onClicked: app.pageStack.push(searchPage)
}
MenuItem {
- text: qsTr("Unlock")
+ text: qsTr("Unlock safe")
onClicked: app.pageStack.push(Qt.resolvedUrl("../pages/PassphraseRequester.qml"),
{ "currentIndex": currentIndex,
"model": model })
}
+ MenuItem {
+ text: qsTr("Lock safe")
+ onClicked: model.forgetPassphrase()
+ }
}