Skip to content

Commit

Permalink
Safer check to see if we are adding in tasks view controller
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Jan 13, 2013
1 parent 7d35587 commit 8489106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/CDITasksViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger
}

- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
if (self.coverView.alpha == 1.0f) {
if ([self.addTaskView.textField isFirstResponder]) {
return NO;
}

Expand Down

0 comments on commit 8489106

Please sign in to comment.