From 1eb8292844f1b5fba953fd53262c9d7778cf2358 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 14 Mar 2009 17:10:05 +0000 Subject: [PATCH] fix #1921 Selected collapsed groups do not pause/resume together --- macosx/TorrentTableView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macosx/TorrentTableView.m b/macosx/TorrentTableView.m index 7063d7f2e..dafd85682 100644 --- a/macosx/TorrentTableView.m +++ b/macosx/TorrentTableView.m @@ -454,7 +454,8 @@ { NSArray * groupTorrents = [item torrents]; [torrents addObjectsFromArray: groupTorrents]; - i += [groupTorrents count]; + if ([self isItemExpanded: item]) + i +=[groupTorrents count]; } }