]> Creatis software - bbtk.git/commitdiff
#3043 BBTK Bug New Normal - FilesFromDirectoryBox missing directories AND Refresh...
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 19 Dec 2016 20:11:23 +0000 (21:11 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 19 Dec 2016 20:11:23 +0000 (21:11 +0100)
packages/std/src/bbstdFilesFromDirectory.cxx

index 7560fd896335b377d8a6803593fc3d2304aee2a9..6e097ee1aa0a97815a22c0d0d6bbd6cbcc6c473e 100644 (file)
@@ -141,6 +141,7 @@ int FilesFromDirectory::Explore(std::string const &dirpath, bool recursive)
                        numberOfFiles           =       numberOfFiles + tmpNumberOfFiles;
          } // if recursive
          if ( fileName != "." && fileName != ".." && !recursive )
+                {
                        if ((bbGetInputType()==1) || (bbGetInputType()==2))
                        {
                        std::string temp = dirName+fileName;