Project tree: Setting the startup class does not crash anymore when forms class files are visible.
[DEVELOPMENT ENVIRONMENT] * BUG: Project tree: Setting the startup class does not crash anymore when forms class files are visible.
This commit is contained in:
parent
ef82508d31
commit
1a01cf7e57
1 changed files with 6 additions and 4 deletions
|
@ -296,10 +296,12 @@ Private Sub AddFile(sDir As String, sFile As String, Optional bAfter As Boolean,
|
|||
Try hStat = Stat(sPath)
|
||||
If Error Then Return
|
||||
|
||||
With $hTree.Add(sKey, sFile, GetFileIcon(sPath,, hStat,, True), sParent)
|
||||
.Font = $hTree.Font
|
||||
.Font.Grade -= 2
|
||||
End With
|
||||
If Not $hTree.Exist(sKey) Then
|
||||
With $hTree.Add(sKey, sFile, GetFileIcon(sPath,, hStat,, True), sParent)
|
||||
.Font = $hTree.Font
|
||||
.Font.Grade -= 2
|
||||
End With
|
||||
Endif
|
||||
|
||||
Endif
|
||||
Endif
|
||||
|
|
Loading…
Reference in a new issue