From e7cdec93c0c8bf047a5f7b0e76d3cf61cb5b402b Mon Sep 17 00:00:00 2001 From: hsoft Date: Tue, 29 Sep 2009 14:37:01 +0000 Subject: [PATCH] [#66 state:fixed] Fixed crash when changing the state of an expanded directory. --HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40160 --- base/cocoa/DirectoryPanel.m | 1 + 1 file changed, 1 insertion(+) diff --git a/base/cocoa/DirectoryPanel.m b/base/cocoa/DirectoryPanel.m index 6cc822b8..f2a0d0fe 100644 --- a/base/cocoa/DirectoryPanel.m +++ b/base/cocoa/DirectoryPanel.m @@ -58,6 +58,7 @@ http://www.hardcoded.net/licenses/hs_license OVNode *node = [directories itemAtRow:[directories clickedRow]]; [_py setDirectory:p2a([node indexPath]) state:i2n([sender tag])]; [node resetAllBuffers]; + [directories reloadItem:node reloadChildren:YES]; [directories display]; }