Browse Source

Strict tableview check.

v1.4.1
Abhishek Banthia 8 years ago
parent
commit
159cde03be
  1. 7
      Clocker/Preferences/CLPreferencesViewController.m

7
Clocker/Preferences/CLPreferencesViewController.m

@ -695,6 +695,10 @@ NSString *const CLTryAgainMessage = @"Try again, maybe?";
-(void)tableView:(NSTableView *)tableView didClickTableColumn:(NSTableColumn *)tableColumn
{
if ([[tableColumn identifier] isEqualToString:@"favouriteTimezone"]) {
return;
}
if (tableView == self.timezoneTableView)
{
static NSStringCompareOptions comparisonOptions = NSCaseInsensitiveSearch | NSNumericSearch | NSForcedOrderingSearch | NSWidthInsensitiveSearch;
@ -901,7 +905,8 @@ NSString *const CLTryAgainMessage = @"Try again, maybe?";
[operationObject save];
[Answers logCustomEventWithName:@"New Place Added" customAttributes:@{@"Place Name" : filteredAddress , @"Timezone" : json[@"timeZoneId"]}];
[Answers logSearchWithQuery:filteredAddress customAttributes:@{@"Place Name" : filteredAddress , @"Timezone" : json[@"timeZoneId"]}];
}

Loading…
Cancel
Save