Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Commented out debug logs (mac)
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekV committed May 14, 2018
1 parent bc332e9 commit 79f9368
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/ui/osx/TogglDesktop/TimeEntryEditViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1116,13 +1116,13 @@ - (void)controlTextDidChange:(NSNotification *)aNotification
AutoCompleteInput *field = [aNotification object];
if (field == self.descriptionAutoCompleteInput)
{
NSLog(@"Filter DESCRIPTION: %@", [field stringValue]);
// NSLog(@"Filter DESCRIPTION: %@", [field stringValue]);
[self.liteDescriptionAutocompleteDataSource setFilter:[field stringValue]];
}

if (field == self.projectAutoCompleteInput)
{
NSLog(@"Filter PROJECTS: %@", [field stringValue]);
// NSLog(@"Filter PROJECTS: %@", [field stringValue]);
[self.liteProjectAutocompleteDataSource setFilter:[field stringValue]];
}

Expand Down Expand Up @@ -1336,7 +1336,7 @@ - (NSView *) tableView:(NSTableView *)tableView
{
item = [dataSource.filteredOrderedKeys objectAtIndex:row];
}
NSLog(@"%@", item);
//NSLog(@"%@", item);
NSAssert(item != nil, @"view item from viewitems array is nil");

AutoCompleteTableCell *cell = [tableView makeViewWithIdentifier:@"AutoCompleteTableCell"
Expand Down
2 changes: 1 addition & 1 deletion src/ui/osx/TogglDesktop/TimerEditViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ - (void)controlTextDidChange:(NSNotification *)aNotification
AutoCompleteInput *field = [aNotification object];
[self.liteAutocompleteDataSource setFilter:[field stringValue]];
[field.autocompleteTableView resetSelected];
NSLog(@"Filter: %@", [field stringValue]);
//NSLog(@"Filter: %@", [field stringValue]);
return;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/ui/osx/TogglDesktop/test2/AutoCompleteInput.m
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ - (void)setPos:(int)posy

- (void)toggleTableView:(int)itemCount
{
NSLog(@"// ** Toggle table (items: %d) ** //", itemCount);
//NSLog(@"// ** Toggle table (items: %d) ** //", itemCount);
if (itemCount > 0 || (itemCount == 0 && self.lastItemCount > 0))
{
if (self.autocompleteTableContainer.hidden)
Expand All @@ -95,7 +95,7 @@ - (void)updateDropdownHeight:(int)count
int h = MIN((count * self.itemHeight), self.posY - 50);

self.heightConstraint.constant = h;
NSLog(@"Update table position | H: %d, POSY: %d", h, self.posY);
//NSLog(@"Update table position | H: %d, POSY: %d", h, self.posY);
}

- (void)keyUp:(NSEvent *)event
Expand Down

0 comments on commit 79f9368

Please sign in to comment.