Class duplication check now ignores backup files.

[DEVELOPMENT ENVIRONMENT]
* BUG: Class duplication check now ignores backup files.
* BUG: Make executable dialog: Hide "ignore test modules" checkbox if the project has no test modules.
This commit is contained in:
gambas 2020-06-29 13:46:13 +02:00
parent 4ed2905929
commit 4adc83352a
3 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,7 @@ Public Sub dchProject_Change()
panProject.Show
dchProject.FileView.Hide
dchProject.ShowToolbar = False
Endif

View File

@ -466,6 +466,7 @@ Public Sub CheckDuplicates() As String[]
For Each sPath In RDir($sSourceDir, "*", gb.File, True)
sName = File.Name(sPath)
If sName Ends "~" Then Continue
sDup = cName[sName]
If Not sDup Then
cName[sName] = sPath

View File

@ -24,6 +24,7 @@ Public Sub Form_Open()
chkIncVersion.Value = Not Project.Config["/Executable/DoNotIncrementVersion", False]
chkIncVersion.Visible = Not Project.VersionFile
chkNoTest.Visible = Project.HasTest()
chkNoTest.Value = Project.Config["/Executable/NoTestModule", False]
' If Project.CreateComponent Then