Browse Source

Strict check for table.

v1.4.1
Abhishek Banthia 8 years ago
parent
commit
cdc6e14696
  1. BIN
      Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate
  2. 5
      Clocker/Preferences/CLPreferencesViewController.m

BIN
Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate generated

Binary file not shown.

5
Clocker/Preferences/CLPreferencesViewController.m

@ -694,6 +694,9 @@ NSString *const CLTryAgainMessage = @"Try again, maybe?";
-(void)tableView:(NSTableView *)tableView didClickTableColumn:(NSTableColumn *)tableColumn
{
if (tableView == self.timezoneTableView)
{
static NSStringCompareOptions comparisonOptions = NSCaseInsensitiveSearch | NSNumericSearch | NSForcedOrderingSearch | NSWidthInsensitiveSearch;
[self.selectedTimeZones sortUsingComparator:^NSComparisonResult(id _Nonnull obj1, id _Nonnull obj2){
@ -744,6 +747,8 @@ NSString *const CLTryAgainMessage = @"Try again, maybe?";
[self.timezoneTableView reloadData];
[self refreshMainTableview];
}
}
#pragma mark Other Methods

Loading…
Cancel
Save