aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-03-18 11:34:35 +0530
committerRoopesh Chander <roop@roopc.net>2019-03-18 12:03:41 +0530
commit439fb6bbac372f7c2eebce768afa55882baea598 (patch)
tree8325a1dacb804f855b7c686d7af22e18373f0f61 /WireGuard/WireGuard/UI/macOS
parenton-demand: macOS: Remove unused class ControlRow (diff)
downloadwireguard-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 '')
-rw-r--r--WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift1
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
}()