Use Tab to switch bar panels
This commit is contained in:
@@ -296,6 +296,7 @@ Panel {
|
|||||||
}
|
}
|
||||||
onActivateRequested: if (root.cursorActive) root.activateCursor()
|
onActivateRequested: if (root.cursorActive) root.activateCursor()
|
||||||
onCloseRequested: root.close()
|
onCloseRequested: root.close()
|
||||||
|
onTabRequested: function(direction) { root.switchPanel(direction) }
|
||||||
onTextKey: function(t) {
|
onTextKey: function(t) {
|
||||||
if (t === "t" || t === "T") tailscale.toggleTailscale()
|
if (t === "t" || t === "T") tailscale.toggleTailscale()
|
||||||
else if (t === "c" || t === "C") tailscale.copyPeerIp(root.selectedPeer())
|
else if (t === "c" || t === "C") tailscale.copyPeerIp(root.selectedPeer())
|
||||||
|
|||||||
Reference in New Issue
Block a user