summaryrefslogtreecommitdiff
path: root/macui
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@zerotier.com>2017-02-14 16:39:15 -0800
committerGrant Limberg <grant.limberg@zerotier.com>2017-02-14 16:39:15 -0800
commitde7e8a1ca448ea2077f31514aa4f3d3ee3b5317b (patch)
tree323e30aa08d86f3fced07a9874c5c32da7f3dccb /macui
parentaa2ee3f7bebf07d27e824e6a369300e0642fbcaa (diff)
downloadinfinitytier-de7e8a1ca448ea2077f31514aa4f3d3ee3b5317b.tar.gz
infinitytier-de7e8a1ca448ea2077f31514aa4f3d3ee3b5317b.zip
fix About view on Mac so that it opens links in the system web browser
Diffstat (limited to 'macui')
-rw-r--r--macui/ZeroTier One/AboutViewController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/macui/ZeroTier One/AboutViewController.m b/macui/ZeroTier One/AboutViewController.m
index 21dceae1..7f92977d 100644
--- a/macui/ZeroTier One/AboutViewController.m
+++ b/macui/ZeroTier One/AboutViewController.m
@@ -32,7 +32,8 @@
[self.webView.layer setCornerRadius:1.0f];
self.webView.layer.masksToBounds = YES;
[self.webView.layer setBorderColor:[[NSColor darkGrayColor] CGColor]];
-
+ self.webView.policyDelegate = self;
+
NSBundle *bundle = [NSBundle mainBundle];
NSURL *path = [bundle URLForResource:@"about" withExtension:@"html"];
if(path) {