aurorad0b829a
aurora: tab/shift-tab cycles control panel tabs
+3 −0
1 file changed
| @@ -47,6 +47,9 @@ PanelWindow { | |||
| 47 | 47 | border.color: Theme.accent | |
| 48 | 48 | focus: true | |
| 49 | 49 | Keys.onEscapePressed: win.closeRequested() | |
| 50 | + | // Tab / Shift+Tab cycle through the tabs (wraps around) | |
| 51 | + | Keys.onTabPressed: win.tabRequested((win.tab + 1) % win.tabs.length) | |
| 52 | + | Keys.onBacktabPressed: win.tabRequested((win.tab + win.tabs.length - 1) % win.tabs.length) | |
| 50 | 53 | ||
| 51 | 54 | ColumnLayout { | |
| 52 | 55 | anchors.fill: parent | |