Skip to content

Commit

Permalink
Fixes ticket #12. Drawer will stay open when joining a room even tho …
Browse files Browse the repository at this point in the history
…it doesn't have any drawer items yet.
  • Loading branch information
xeenon committed Feb 27, 2005
1 parent 68e75d2 commit 5ef2194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JVTabbedChatWindowController.m
Expand Up @@ -195,7 +195,7 @@ - (void) customTabView:(AICustomTabsView *) view didSelectTabViewItem:(NSTabView
if( [[NSUserDefaults standardUserDefaults] boolForKey:@"JVChatWindowDrawerOpen"] &&
[controller respondsToSelector:@selector( numberOfChildren )] && [controller numberOfChildren] ) {
[viewsDrawer open:nil];
} else [viewsDrawer close:nil];
} else if( ! [controller respondsToSelector:@selector( numberOfChildren )] ) [viewsDrawer close:nil];
}
}

Expand Down

0 comments on commit 5ef2194

Please sign in to comment.