From db760448807fb5f2b908182f3e574dc897e64693 Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Sat, 5 Nov 2011 00:24:54 +0100 Subject: [PATCH] fix zombie group rows style. closes #1376 --- AppKit/CPTableView.j | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index bae3414c7..025a6cccd 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -509,6 +509,11 @@ NOT YET IMPLEMENTED _objectValues = { }; _cachedRowHeights = []; + // Otherwise, if we have a row marked as group with a + // index greater than the new number or rows + // it keeps the the graphical group style. + [_groupRows removeAllIndexes]; + // This updates the size too. [self noteNumberOfRowsChanged];