macOS: Edit view: Save on Cmd+S

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander 2019-05-12 15:45:26 +05:30
parent 167e4f0bf2
commit 69b33c0fad
1 changed files with 2 additions and 0 deletions

View File

@ -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
}()