Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

When adding a contact, if no account selected, assume the first account

  • Loading branch information...
commit 20a138398383f89f9fc390308a86bd67c2a25352 1 parent 4391dcb
@benlangfeld authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 Controllers/AccountsController.j
View
5 Controllers/AccountsController.j
@@ -317,10 +317,7 @@ var SharedController = nil;
else if ([selected isKindOfClass:[Account class]])
account = selected;
else
- {
- CPLog.error("Must select an account to add a contact to!");
- return;
- }
+ account = [accounts objectAtIndex:0];
var controller = [[AddContactController alloc] initWithAccount:account];
[controller showWindow:aSender];
Please sign in to comment.
Something went wrong with that request. Please try again.