expand treebrowser directory if directory changed from outside (not by clicking the item)
authorpenk
Fri, 10 Dec 2004 16:53:54 +0100
changeset 6149 e72cc6c35d0e
parent 6148 570853342e05
child 6150 5028485a29c6
expand treebrowser directory if directory changed from outside (not by clicking the item)
DirectoryTreeBrowser.st
--- a/DirectoryTreeBrowser.st	Fri Dec 10 16:47:10 2004 +0100
+++ b/DirectoryTreeBrowser.st	Fri Dec 10 16:53:54 2004 +0100
@@ -770,15 +770,6 @@
     ].
     self rootHolder notNil ifTrue:[
         self selectFiles:filesToSelect.
-
-        "/ cg: why was this done
-"/false ifTrue:[
-"/        self selectedItems do:[:item|
-"/            (item isDirectory and:[item isExpanded not]) ifTrue:[
-"/                item enforcedExpand "/ expand.
-"/            ]
-"/        ].
-"/].
     ].
 !
 
@@ -1325,5 +1316,5 @@
 !DirectoryTreeBrowser class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/DirectoryTreeBrowser.st,v 1.91 2004-12-10 15:47:10 penk Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DirectoryTreeBrowser.st,v 1.92 2004-12-10 15:53:54 penk Exp $'
 ! !