]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
macOS: Tunnels list: Don't allow empty selection
authorRoopesh Chander <roop@roopc.net>
Mon, 18 Mar 2019 06:04:35 +0000 (11:34 +0530)
committerRoopesh Chander <roop@roopc.net>
Mon, 18 Mar 2019 06:33:41 +0000 (12:03 +0530)
Signed-off-by: Roopesh Chander <roop@roopc.net>
WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift

index 8987f79d64079c22ce9e275c79d24518892efd68..0dffd48104d3848182c5fda78f95c3dd042991eb 100644 (file)
@@ -19,6 +19,7 @@ class TunnelsListTableViewController: NSViewController {
         tableView.headerView = nil
         tableView.rowSizeStyle = .medium
         tableView.allowsMultipleSelection = true
+        tableView.allowsEmptySelection = false
         return tableView
     }()