Changeset 3909

Show
Ignore:
Timestamp:
03/17/06 08:29:28 (3 years ago)
Author:
morris
Message:

Check that a user is selected when validating get info

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredClient/trunk/WCChat.m

    r3907 r3909  
    12341234                return connected; 
    12351235        else if(selector == @selector(getInfo:)) 
    1236                 return ([[[self connection] account] getUserInfo] && connected); 
     1236                return ([[[self connection] account] getUserInfo] && connected && ([_userListTableView selectedRow] >= 0)); 
    12371237        else if(selector == @selector(editAccount:)) 
    12381238                return ([[[self connection] account] editAccounts] && connected);