Explorar o código

fix About view on Mac so that it opens links in the system web browser

Grant Limberg %!s(int64=8) %!d(string=hai) anos
pai
achega
de7e8a1ca4
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      macui/ZeroTier One/AboutViewController.m

+ 2 - 1
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) {