1
0
Fork 0

FIXED - Exiting when no prefs are set on the initial startup

TODO - Add modal warning in the above condition
master
Matthieu Lalonde 13 years ago
parent 3f1e25babb
commit 5ef20235d8

@ -222,13 +222,11 @@
- (void) hideConfigPanel:(id)sender - (void) hideConfigPanel:(id)sender
{ {
/*NSString *hostname = [[NSUserDefaults standardUserDefaults] stringForKey:@"hostname"];
if (hostname == nil && [[sender title] isEqualToString:@"Cancel"]) { if (hostname == nil && [[sender title] isEqualToString:@"Cancel"]) {
// TODO: Add modal alert "will quit if not configured" // TODO: Add modal alert "will quit if not configured"
[self terminate:nil]; [self terminate:nil];
} }
*/
[ConfigPanel orderOut:nil]; [ConfigPanel orderOut:nil];
} }

Loading…
Cancel
Save