SantaGUI: Close window when opening web pages

This commit is contained in:
Russell Hancox
2015-03-27 16:56:13 -04:00
parent 111540f0a8
commit e19aab36bd
2 changed files with 2 additions and 3 deletions

View File

@@ -30,8 +30,8 @@
}
- (IBAction)openMoreInfoURL:(id)sender {
[self.window orderOut:sender];
[[NSWorkspace sharedWorkspace] openURL:[[SNTConfigurator configurator] moreInfoURL]];
[self close];
}
@end

View File

@@ -88,8 +88,7 @@
withString:[[SNTConfigurator configurator] machineID]];
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:formatStr]];
[self closeWindow:sender];
[self close];
}
#pragma mark Generated properties