Changeset 3442

Show
Ignore:
Timestamp:
12/07/06 22:20:21 (2 years ago)
Author:
timothy
Message:

Fixes an assertion when switching from a Chat Room to a Direct Chat or Transcript panel when using the tab mode. #494

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Controllers/JVTabbedChatWindowController.m

    r3418 r3442  
    334334                        return [item childAtIndex:index]; 
    335335                else return nil; 
    336         } else return [(id)_activeViewController childAtIndex:index]; 
     336        } 
     337 
     338        if( [_activeViewController respondsToSelector:@selector( childAtIndex: )] ) 
     339                return [(id)_activeViewController childAtIndex:index]; 
     340        return nil; 
    337341} 
    338342