From 439fb6bbac372f7c2eebce768afa55882baea598 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Mon, 18 Mar 2019 11:34:35 +0530 Subject: [PATCH] macOS: Tunnels list: Don't allow empty selection Signed-off-by: Roopesh Chander --- .../UI/macOS/ViewController/TunnelsListTableViewController.swift | 1 + 1 file changed, 1 insertion(+) 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 }()