macOS: Edit view: Save on Cmd+S
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
167e4f0bf2
commit
69b33c0fad
|
@ -73,6 +73,8 @@ class TunnelEditViewController: NSViewController {
|
||||||
button.title = tr("macEditSave")
|
button.title = tr("macEditSave")
|
||||||
button.setButtonType(.momentaryPushIn)
|
button.setButtonType(.momentaryPushIn)
|
||||||
button.bezelStyle = .rounded
|
button.bezelStyle = .rounded
|
||||||
|
button.keyEquivalent = "s"
|
||||||
|
button.keyEquivalentModifierMask = [.command]
|
||||||
return button
|
return button
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue