Skip to content

Commit

Permalink
Also fix removal of last Base file from GUI list
Browse files Browse the repository at this point in the history
The opposite for previous fix
  • Loading branch information
TAC109 committed Oct 7, 2021
1 parent 1b11148 commit 70ded8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ahk2Exe.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ SetCDBin(FileName)
Comment := 0
}
if (!IsBase && BinFiles.1 = SBDMes)
{ BinFiles.RemoveAt(1), BinNames := SubStr(BinNames,InStr(BinNames,"|")+1)
{ BinFiles.RemoveAt(1), BinNames := SubStr(BinNames,InStr(BinNames "|","|")+1)
GuiControl,, BinFileId, |%BinNames%
GuiControl Choose, BinFileId, %LastId%
Util_Status("""" SBDMes """ removed from 'Base File' list.")
Expand Down

0 comments on commit 70ded8a

Please sign in to comment.