macOS: Edit view: Dismiss on Esc
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
6e3b28852a
commit
167e4f0bf2
|
@ -287,3 +287,9 @@ class TunnelEditViewController: NSViewController {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extension TunnelEditViewController {
|
||||||
|
override func cancelOperation(_ sender: Any?) {
|
||||||
|
handleDiscardAction()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue