From 885534612cfd9564d54b6f988590e84567181905 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 29 Sep 2009 23:11:13 +0000 Subject: - Correctly release and reset the sort column when deselecting tables or selecting single tables after multiple tables are selected. This addresses Issue #372 and probably Issue #365 --- Source/TableContent.m | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/TableContent.m') diff --git a/Source/TableContent.m b/Source/TableContent.m index a030ee27..8fcf0454 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -168,6 +168,10 @@ isLimited = NO; [countText setStringValue:@""]; + // Reset sort column + if (sortCol) [sortCol release], sortCol = nil; + isDesc = NO; + // Empty and disable filter options [fieldField setEnabled:NO]; [fieldField removeAllItems]; -- cgit v1.2.3