Permalink
Browse files

problem to update the start button label

  • Loading branch information...
Jérôme Lebel
Jérôme Lebel committed Sep 26, 2010
1 parent b75e1a7 commit e9d78be2d65c904e71a2b4262e5c8c906d350f32
Showing with 5 additions and 5 deletions.
  1. +5 −5 iProxyMacSetup/Classes/PMUIController.m
@@ -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

0 comments on commit e9d78be

Please sign in to comment.