Skip to content

Commit

Permalink
Strict tableview check.
Browse files Browse the repository at this point in the history
  • Loading branch information
n0shake committed May 12, 2017
1 parent 092faa3 commit 159cde0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Clocker/Preferences/CLPreferencesViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,10 @@ -(NSDragOperation)tableView:(NSTableView *)tableView
-(void)tableView:(NSTableView *)tableView didClickTableColumn:(NSTableColumn *)tableColumn
{

if ([[tableColumn identifier] isEqualToString:@"favouriteTimezone"]) {
return;
}

if (tableView == self.timezoneTableView)
{
static NSStringCompareOptions comparisonOptions = NSCaseInsensitiveSearch | NSNumericSearch | NSForcedOrderingSearch | NSWidthInsensitiveSearch;
Expand Down Expand Up @@ -901,7 +905,8 @@ - (void)getTimeZoneForLatitude:(NSString *)latitude andLongitude:(NSString *)lon

[operationObject save];

[Answers logCustomEventWithName:@"New Place Added" customAttributes:@{@"Place Name" : filteredAddress , @"Timezone" : json[@"timeZoneId"]}];

[Answers logSearchWithQuery:filteredAddress customAttributes:@{@"Place Name" : filteredAddress , @"Timezone" : json[@"timeZoneId"]}];

}

Expand Down

0 comments on commit 159cde0

Please sign in to comment.