tAdd ability to lock safe - sailfish-safe - Sailfish frontend for safe(1)
(HTM) git clone git://git.z3bra.org/sailfish-safe.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3477272e969567d1cd315be553511576059c2c4f
(DIR) parent 15df9b1bf2c31b5b3420b8a09d2b5a7380914249
(HTM) Author: Willy Goiffon <contact@z3bra.org>
Date: Tue, 13 Jul 2021 19:12:42 +0200
Add ability to lock safe
Diffstat:
M qml/components/GlobalPullDownMenu.… | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/qml/components/GlobalPullDownMenu.qml b/qml/components/GlobalPullDownMenu.qml
t@@ -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()
+ }
}