Open project dialog: Do not crash if there is no project template when creating a new project, even if it should not happen.

[DEVELOPMENT ENVIRONMENT]
* BUG: Open project dialog: Do not crash if there is no project template when creating a new project, even if it should not happen.
This commit is contained in:
Benoît Minisini 2023-11-03 20:48:00 +01:00
parent 5ebbcc6026
commit df5e159c5e

View file

@ -278,7 +278,7 @@ Private Sub InitNewProject()
$hTemplate = New CProjectList(svwTemplate, txtFilterType, CProjectList.TYPE_TEMPLATE, Arrange.Row) As "ProjectTemplate"
$hTemplate.Fill
$hTemplate.Current = svwTemplate.Children[0]
Try $hTemplate.Current = svwTemplate.Children[0]
End