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

@ -27,6 +27,10 @@ ToolButton {
clicked()
}
Keys.onEnterPressed: {
clicked()
}
Keys.onRightPressed: {
nextItemInFocusChain(true).forceActiveFocus(Qt.TabFocus)
}