diff --git a/app/src/gambas3/.src/Project/CProjectTree.class b/app/src/gambas3/.src/Project/CProjectTree.class index f76ed3a58..7476dc921 100644 --- a/app/src/gambas3/.src/Project/CProjectTree.class +++ b/app/src/gambas3/.src/Project/CProjectTree.class @@ -194,7 +194,9 @@ Private Sub AddFile(sDir As String, sFile As String, Optional bAfter As Boolean, Else - bCompressed = Project.ShouldCompress(sDir &/ sFile) + If $bCurrentProject Then + bCompressed = Project.ShouldCompress(sDir &/ sFile) + Endif Endif