Changeset 4936
- Timestamp:
- Feb 7, 2008, 2:11:26 AM (14 years ago)
- Location:
- trunk/macosx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r4935 r4936 1168 1168 while ((torrent = [enumerator nextObject])) 1169 1169 { 1170 //expand the group, since either the whole group is being removed or it is already expanded 1171 [fTableView removeCollapsedGroup: [torrent groupValue]]; 1172 1170 1173 if (deleteData) 1171 1174 [torrent trashData]; … … 1939 1942 1940 1943 //reset expanded/collapsed rows 1944 #warning redo to not require storing an indexset? 1941 1945 if (groupRows && [fDisplayedTorrents count] > 0 && [NSApp isOnLeopardOrBetter]) 1942 1946 { -
trunk/macosx/TorrentTableView.h
r4935 r4936 53 53 54 54 - (NSIndexSet *) collapsedGroupsIndexes; 55 - (void) removeCollapsedGroup: (int) value; 55 56 56 57 - (void) removeButtonTrackingAreas; -
trunk/macosx/TorrentTableView.m
r4935 r4936 94 94 { 95 95 return fCollapsedGroups; 96 } 97 98 - (void) removeCollapsedGroup: (int) value 99 { 100 if (value < 0) 101 value = INT_MAX; 102 103 [fCollapsedGroups removeIndex: value]; 96 104 } 97 105
Note: See TracChangeset
for help on using the changeset viewer.