|
|
|
@ -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 |
|
|
|
|