aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-01-17 02:43:24 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-17 02:43:24 +0530
commit7d5eb476e46faf5abb396ebb7037eaca420b25d2 (patch)
treefda7614e803776a7f2d5a7c61a471a73eee1ac64 /WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
parentmacOS: Manage tunnels: Keyboard shortcuts (diff)
downloadwireguard-apple-7d5eb476e46faf5abb396ebb7037eaca420b25d2.tar.xz
wireguard-apple-7d5eb476e46faf5abb396ebb7037eaca420b25d2.zip
macOS: Manage tunnels: Make keyboard shortcuts discoverable
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift')
-rw-r--r--WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
index adb32aa..e20df32 100644
--- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
+++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
@@ -55,6 +55,7 @@ class TunnelDetailTableViewController: NSViewController {
checkbox.title = ""
checkbox.setButtonType(.switch)
checkbox.state = .off
+ checkbox.toolTip = "Toggle status (⌘T)"
return checkbox
}()
@@ -63,6 +64,7 @@ class TunnelDetailTableViewController: NSViewController {
button.title = tr("Edit")
button.setButtonType(.momentaryPushIn)
button.bezelStyle = .rounded
+ button.toolTip = "Edit tunnel (⌘E)"
return button
}()