diff options
author | rowanbeentje <rowan@beent.je> | 2009-09-29 23:11:13 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-09-29 23:11:13 +0000 |
commit | 885534612cfd9564d54b6f988590e84567181905 (patch) | |
tree | be7a5cdf5fa9bff5252e895ae364a09111be9dc5 | |
parent | f6184afd58588a6687fd2312d9db42a83be0e286 (diff) | |
download | sequelpro-885534612cfd9564d54b6f988590e84567181905.tar.gz sequelpro-885534612cfd9564d54b6f988590e84567181905.tar.bz2 sequelpro-885534612cfd9564d54b6f988590e84567181905.zip |
- 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
-rw-r--r-- | Source/TableContent.m | 4 |
1 files changed, 4 insertions, 0 deletions
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]; |