From 79f93682596fdf36ef4cb67efce42fc9346b1239 Mon Sep 17 00:00:00 2001 From: IndrekV Date: Mon, 14 May 2018 14:00:41 +0300 Subject: [PATCH] Commented out debug logs (mac) --- src/ui/osx/TogglDesktop/TimeEntryEditViewController.m | 6 +++--- src/ui/osx/TogglDesktop/TimerEditViewController.m | 2 +- src/ui/osx/TogglDesktop/test2/AutoCompleteInput.m | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ui/osx/TogglDesktop/TimeEntryEditViewController.m b/src/ui/osx/TogglDesktop/TimeEntryEditViewController.m index 06f706fdca..e56f7ae076 100644 --- a/src/ui/osx/TogglDesktop/TimeEntryEditViewController.m +++ b/src/ui/osx/TogglDesktop/TimeEntryEditViewController.m @@ -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]]; } @@ -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" diff --git a/src/ui/osx/TogglDesktop/TimerEditViewController.m b/src/ui/osx/TogglDesktop/TimerEditViewController.m index 0250eda24b..2e2b8217ca 100644 --- a/src/ui/osx/TogglDesktop/TimerEditViewController.m +++ b/src/ui/osx/TogglDesktop/TimerEditViewController.m @@ -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; } } diff --git a/src/ui/osx/TogglDesktop/test2/AutoCompleteInput.m b/src/ui/osx/TogglDesktop/test2/AutoCompleteInput.m index 4d6764fa0a..7ee33be0fe 100644 --- a/src/ui/osx/TogglDesktop/test2/AutoCompleteInput.m +++ b/src/ui/osx/TogglDesktop/test2/AutoCompleteInput.m @@ -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) @@ -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