From: Roopesh Chander Date: Mon, 18 Mar 2019 06:04:35 +0000 (+0530) Subject: macOS: Tunnels list: Don't allow empty selection X-Git-Tag: 0.0.20190319-1~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=439fb6bbac372f7c2eebce768afa55882baea598;p=thirdparty%2Fwireguard-apple.git macOS: Tunnels list: Don't allow empty selection Signed-off-by: Roopesh Chander --- diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift index 8987f79..0dffd48 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift @@ -19,6 +19,7 @@ class TunnelsListTableViewController: NSViewController { tableView.headerView = nil tableView.rowSizeStyle = .medium tableView.allowsMultipleSelection = true + tableView.allowsEmptySelection = false return tableView }()