libede:FileSystemBox: changed FileSystemBox::NodeChildLoad
authorRejean Loyer <rejean.loyer@gmail.com>
Fri, 16 Sep 2011 12:00:51 +0000 (08:00 -0400)
committerRejean Loyer <rejean.loyer@gmail.com>
Fri, 16 Sep 2011 12:00:51 +0000 (08:00 -0400)
libede/src/FileSystemBox.ec

index a4bfd34..ed93d96 100644 (file)
@@ -725,14 +725,14 @@ private:
                (bits.filesOnly && listing.stats.attribs.isFile))
             {
                FileSystemNode child = MakeFileSystemNode(listing.stats, listing.name, listing.path, bits.previewPictures, displaySystem);
-               AddTreeNode(child, true, false, parent);
+               AddTreeNode(child, listing.stats.attribs.isFile, !listing.stats.attribs.isFile, parent);
                added = true;
             }
          }
          if(!added)
             added = true;
       }
-      //parent.childrenLoaded = true;
+      parent.childrenLoaded = true;
    }
 
    void AddTreeNode(FileSystemNode node, bool loaded, bool addLoader, FileSystemNode addTo)