diff options
author | Roopesh Chander <roop@roopc.net> | 2019-05-12 15:45:26 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-05-12 15:45:26 +0530 |
commit | 69b33c0fad3be65554e62d9b96c011d71337ffed (patch) | |
tree | 30e7263b8e7c426a7b28dcd0276532047f61c16a | |
parent | macOS: Edit view: Dismiss on Esc (diff) | |
download | wireguard-apple-69b33c0fad3be65554e62d9b96c011d71337ffed.tar.xz wireguard-apple-69b33c0fad3be65554e62d9b96c011d71337ffed.zip |
macOS: Edit view: Save on Cmd+S
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift index 2773291..88cabbd 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift @@ -73,6 +73,8 @@ class TunnelEditViewController: NSViewController { button.title = tr("macEditSave") button.setButtonType(.momentaryPushIn) button.bezelStyle = .rounded + button.keyEquivalent = "s" + button.keyEquivalentModifierMask = [.command] return button }() |