on xenial help sign in
remove the OK button from the PIN pages
commit300a9917a91f395d2bcd9519e4372ea514aaecd1 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateFri 4 Sep 2015, 22:53 (11 years ago) parent8a869a8
2 files changed−19
qml/Wizard/Pages/passcode-confirm.qml−10 qml/Wizard/Pages/passcode-set.qml−9
qml/Wizard/Pages/passcode-confirm.qml−10
@@ -71,14 +71,4 @@ LocalComponents.Page {
7171 onTriggered: pageStack.next()
7272 }
7373 }
74−
75− Component {
76− id: forwardButton
77− LocalComponents.StackButton {
78− visible: root.passwordMethod === UbuntuSecurityPrivacyPanel.Passphrase
79− enabled: root.password === lockscreen.passphrase
80− text: i18n.tr("OK")
81− onClicked: pageStack.next()
82− }
83− }
8474}
qml/Wizard/Pages/passcode-set.qml−9
@@ -80,13 +80,4 @@ LocalComponents.Page {
8080 }
8181 }
8282 }
83−
84− Component {
85− id: forwardButton
86− LocalComponents.StackButton {
87− enabled: lockscreen.passphrase.length >= 4
88− text: i18n.tr("OK")
89− onClicked: passcodeSetPage.confirm()
90− }
91− }
9283}