Allow pressing escape to cancel in edit profile

This commit is contained in:
miruka
2019-08-22 10:22:21 -04:00
parent cc7fbc5ab7
commit 3749d1e135
2 changed files with 7 additions and 2 deletions

View File

@@ -150,6 +150,8 @@ HGridLayout {
Layout.fillWidth: true
Layout.maximumWidth: 480
Keys.onEscapePressed: cancelChanges()
}
HLabeledTextField {
@@ -165,6 +167,8 @@ HGridLayout {
Layout.fillWidth: true
Layout.maximumWidth: 480
Keys.onEscapePressed: cancelChanges()
}
}