diff options
author | Roopesh Chander <roop@roopc.net> | 2019-05-12 13:12:43 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-05-12 13:21:42 +0530 |
commit | 6e3b28852a74debe27e7d6d1d006e9f953dfb8d0 (patch) | |
tree | cef43330e20703a7c94b4379f49f1edb9b671420 | |
parent | iOS: Log view: Improve the look (diff) | |
download | wireguard-apple-6e3b28852a74debe27e7d6d1d006e9f953dfb8d0.tar.xz wireguard-apple-6e3b28852a74debe27e7d6d1d006e9f953dfb8d0.zip |
macOS: Log view: Dismiss on Esc
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ViewController/LogViewController.swift | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/LogViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/LogViewController.swift index 5e86ca2..8146977 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/LogViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/LogViewController.swift @@ -261,3 +261,9 @@ extension LogViewController: NSTableViewDelegate { } } } + +extension LogViewController { + override func cancelOperation(_ sender: Any?) { + closeClicked() + } +} |