mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Add keyboard navigation for printer carousel
This commit is contained in:
parent
f1c28498a6
commit
142ac56d78
2 changed files with 12 additions and 1 deletions
|
@ -18,6 +18,10 @@ Item
|
|||
|
||||
height: centerSection.height
|
||||
width: maximumWidth
|
||||
|
||||
// Enable keyboard navigation
|
||||
Keys.onLeftPressed: navigateTo(currentIndex - 1)
|
||||
Keys.onRightPressed: navigateTo(currentIndex + 1)
|
||||
|
||||
Item
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue