diff options
author | Roopesh Chander <roop@roopc.net> | 2019-03-18 11:34:35 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-03-18 12:03:41 +0530 |
commit | 439fb6bbac372f7c2eebce768afa55882baea598 (patch) | |
tree | 8325a1dacb804f855b7c686d7af22e18373f0f61 /WireGuard/WireGuard/UI/macOS/ViewController | |
parent | on-demand: macOS: Remove unused class ControlRow (diff) | |
download | wireguard-apple-439fb6bbac372f7c2eebce768afa55882baea598.tar.xz wireguard-apple-439fb6bbac372f7c2eebce768afa55882baea598.zip |
macOS: Tunnels list: Don't allow empty selection
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/ViewController')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift | 1 |
1 files changed, 1 insertions, 0 deletions
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 }() |