Changeset 5202

Show
Ignore:
Timestamp:
01/26/08 12:17:51 (7 months ago)
Author:
morris
Message:

Reconnect if opening existing connection and it's been disconnected

Files:

Legend:

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

    r5201 r5202  
    267267                if(connection) { 
    268268                        [[WCDock dock] openConnection:connection]; 
     269                         
     270                        if(![connection isConnected]) 
     271                                [connection reconnect]; 
    269272                         
    270273                        return YES;