Add numpad Enter handlers (Keys.onEnterPressed) (#516)
This commit is contained in:
parent
87a7d2e45c
commit
fff9f2b17d
8 changed files with 42 additions and 0 deletions
|
|
@ -22,6 +22,10 @@ MenuItem {
|
|||
triggered()
|
||||
}
|
||||
|
||||
Keys.onEnterPressed: {
|
||||
triggered()
|
||||
}
|
||||
|
||||
Keys.onEscapePressed: {
|
||||
parentMenu.close()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue