Project tree: Check for compressed files only if we display the current project.

[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Check for compressed files only if we display the current project.
This commit is contained in:
gambas 2021-02-06 01:59:36 +01:00
parent 2debb9791e
commit 6a4274e35c

View file

@ -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