diff options
author | Grant Limberg <grant.limberg@zerotier.com> | 2017-02-14 16:39:15 -0800 |
---|---|---|
committer | Grant Limberg <grant.limberg@zerotier.com> | 2017-02-14 16:39:15 -0800 |
commit | de7e8a1ca448ea2077f31514aa4f3d3ee3b5317b (patch) | |
tree | 323e30aa08d86f3fced07a9874c5c32da7f3dccb /macui | |
parent | aa2ee3f7bebf07d27e824e6a369300e0642fbcaa (diff) | |
download | infinitytier-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.m | 3 |
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) { |