Add numpad Enter handlers (Keys.onEnterPressed) (#516)

This commit is contained in:
Maximiliano Bertacchini 2021-02-27 23:01:22 +00:00 committed by GitHub
commit fff9f2b17d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 42 additions and 0 deletions

View file

@ -22,6 +22,10 @@ MenuItem {
triggered()
}
Keys.onEnterPressed: {
triggered()
}
Keys.onEscapePressed: {
parentMenu.close()
}