mirror of
https://github.com/google/santa.git
synced 2026-04-24 03:00:12 -04:00
SantaGUI: Close window when opening web pages
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
}
|
||||
|
||||
- (IBAction)openMoreInfoURL:(id)sender {
|
||||
[self.window orderOut:sender];
|
||||
[[NSWorkspace sharedWorkspace] openURL:[[SNTConfigurator configurator] moreInfoURL]];
|
||||
[self close];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -88,8 +88,7 @@
|
||||
withString:[[SNTConfigurator configurator] machineID]];
|
||||
|
||||
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:formatStr]];
|
||||
|
||||
[self closeWindow:sender];
|
||||
[self close];
|
||||
}
|
||||
|
||||
#pragma mark Generated properties
|
||||
|
||||
Reference in New Issue
Block a user