@@ -144,12 +144,13 @@ FocusScope {
144144
145145 AbstractButton {
146146 objectName: "backspaceIcon"
147− anchors { right: parent.right; top: parent.top; bottom: parent.bottom }
147+ anchors { right: parent.right; top: parent.top; bottom: parent.bottom; margins: -units.gu(1) }
148148 width: height
149149 enabled: root.entryEnabled
150150
151151 Icon {
152152 anchors.fill: parent
153+ anchors.margins: units.gu(1)
153154 name: "erase"
154155 color: root.foregroundColor
155156 }
@@ -196,8 +197,10 @@ FocusScope {
196197 pinentryField.text.length < root.maxPinLength ||
197198 pinentryField.incorrectOverride)
198199
199− onClicked: {
200− pinentryField.appendNumber(index + 1)
200+ onPressedChanged: {
201+ if (!pressed) {
202+ pinentryField.appendNumber(index + 1)
203+ }
201204 }
202205 }
203206 }
@@ -214,8 +217,10 @@ FocusScope {
214217 pinentryField.text.length < root.maxPinLength ||
215218 pinentryField.incorrectOverride)
216219
217− onClicked: {
218− pinentryField.appendNumber(0)
220+ onPressedChanged: {
221+ if (!pressed) {
222+ pinentryField.appendNumber(0)
223+ }
219224 }
220225 }
221226 Item {