add handlers to enter push

This commit is contained in:
Cyril Anisimov 2025-06-11 23:35:50 +02:00
parent 691680adef
commit d74a431e95
10 changed files with 38 additions and 14 deletions

View file

@ -71,6 +71,9 @@ PageType {
onClicked: function() {
SettingsController.strictKillSwitchEnabled = false
}
Keys.onEnterPressed: this.clicked()
Keys.onReturnPressed: this.clicked()
}
DividerType {}
@ -102,6 +105,9 @@ PageType {
showQuestionDrawer(headerText, descriptionText, yesButtonText, noButtonText, yesButtonFunction, noButtonFunction)
}
Keys.onEnterPressed: this.clicked()
Keys.onReturnPressed: this.clicked()
}
DividerType {