Browse Source

Handling boundary condition for custom menubar.

v1.2.4
Abhishek Banthia 9 years ago
parent
commit
afcdc93f5b
  1. 7
      Clocker/Preferences/CLPreferencesViewController.m

7
Clocker/Preferences/CLPreferencesViewController.m

@ -193,8 +193,6 @@ NSString *const CLTryAgainMessage = @"Try again, maybe?";
if (self.selectedTimeZones.count > row) {
selectedDataSource = [CLTimezoneData getCustomObject:self.selectedTimeZones[row]];
}
if ([[tableColumn identifier] isEqualToString:CLPreferencesTimezoneNameIdentifier])
{
@ -506,6 +504,11 @@ NSString *const CLTryAgainMessage = @"Try again, maybe?";
[self refreshMainTableview];
if (self.selectedTimeZones.count == 0)
{
[[NSUserDefaults standardUserDefaults] setObject:nil forKey:@"favouriteTimezone"];
}
}
- (IBAction)filterTimezoneArray:(id)sender

Loading…
Cancel
Save