message: Refactor saving description in edit view (mac)
diff: @@ -866,15 +866,8 @@ extern void *ctx;
  NSAssert(self.timeEntry != nil, @"Time entry expected");
  NSString *key = [self.descriptionAutoCompleteInput stringValue];
  - [self updateWithSelectedDescription:nil withKey:key];
  -}
  -
  -- (void)updateWithSelectedDescription:(AutocompleteItem *)autocomplete withKey:(NSString *)key
  -{
  const char *GUID = [self.timeEntry.GUID UTF8String];
  - if (!autocomplete)
  - {
  [self.descriptionAutoCompleteInput resetTable];
  if ([self.descriptionAutoCompleteInput.autocompleteTableView lastSavedSelected] == -1)
  {
  @@ -889,9 +882,12 @@ extern void *ctx;
  [self.descriptionAutoCompleteInput.window makeFirstResponder:self.descriptionAutoCompleteInput];
  self.liteDescriptionAutocompleteDataSource.currentFilter = nil;
  }
  - return;
  }
  +- (void)updateWithSelectedDescription:(AutocompleteItem *)autocomplete withKey:(NSString *)key
  +{
  + const char *GUID = [self.timeEntry.GUID UTF8String];
  +
  self.descriptionAutoCompleteInput.stringValue = autocomplete.Description;
  @synchronized(self)
  