From fe618d41a814f4e75d4453f46c77b9429862890e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Fri, 17 Mar 2023 01:53:04 +0100 Subject: [PATCH] Giving a source directory the same name as a form does not hide its contents anymore, when the "Display form class files" option is toggled. [DEVELOPMENT ENVIRONMENT] * BUG: Giving a source directory the same name as a form does not hide its contents anymore, when the "Display form class files" option is toggled. --- app/src/gambas3/.src/Project/CProjectTree.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/gambas3/.src/Project/CProjectTree.class b/app/src/gambas3/.src/Project/CProjectTree.class index 0d74bfeaf..a4966fb0e 100644 --- a/app/src/gambas3/.src/Project/CProjectTree.class +++ b/app/src/gambas3/.src/Project/CProjectTree.class @@ -293,7 +293,7 @@ Private Sub AddFile(sDir As String, sFile As String, Optional bAfter As Boolean, End With - If bSource And If Project.ShowAllClasses Then + If bSource And If Project.ShowAllClasses And If Not bDir Then If ExistForm(sFile) Then sParent = sKey