Skip to content

Commit

Permalink
problem to update the start button label
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme Lebel committed Sep 26, 2010
1 parent b75e1a7 commit e9d78be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions iProxyMacSetup/Classes/PMUIController.m
Expand Up @@ -64,14 +64,14 @@ - (void)updateStartButton
{
if ([appDelegate.proxyServiceList count] > 0 && [appDelegate.interfaceList count] > 0) {
[startButton setEnabled:!appDelegate.automatic];
if (appDelegate.proxyEnabled) {
[startButton setTitle:@"Stop"];
} else {
[startButton setTitle:@"Start"];
}
} else {
[startButton setEnabled:NO];
}
if (appDelegate.proxyEnabled) {
[startButton setTitle:@"Stop"];
} else {
[startButton setTitle:@"Start"];
}
}

- (void)updateProxyPopUpButton
Expand Down

0 comments on commit e9d78be

Please sign in to comment.