1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-20 13:16:53 +00:00

collapsed groups were expanded and vice versa

This commit is contained in:
Mitchell Livingston 2008-02-07 16:23:22 +00:00
parent dd0bf1fa8f
commit 0c61836b1e
2 changed files with 4 additions and 3 deletions

View file

@ -1955,9 +1955,9 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
while ((dict = [enumerator nextObject]))
{
if ([fTableView isGroupCollapsed: [[dict objectForKey: @"Group"] intValue]])
[fTableView expandItem: dict];
else
[fTableView collapseItem: dict];
else
[fTableView expandItem: dict];
}
}

View file

@ -33,12 +33,13 @@
@interface TorrentTableView : NSOutlineView
{
IBOutlet Controller * fController;
NSMutableIndexSet * fCollapsedGroups;
TorrentCell * fTorrentCell;
NSUserDefaults * fDefaults;
NSMutableIndexSet * fCollapsedGroups;
IBOutlet NSMenu * fContextRow, * fContextNoRow;
int fMouseControlRow, fMouseRevealRow, fMouseActionRow, fActionPushedRow;