From 94f00ad8b7b554c9a2b219aef1a0f30c0b4c2a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Thu, 5 May 2016 00:55:39 +0000 Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * BUG: Createing a project from a template having no icon now works correctly. git-svn-id: svn://localhost/gambas/trunk@7761 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- app/src/gambas3/.src/Project/FCreateProject.class | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/gambas3/.src/Project/FCreateProject.class b/app/src/gambas3/.src/Project/FCreateProject.class index de5461e38..c62e6d868 100644 --- a/app/src/gambas3/.src/Project/FCreateProject.class +++ b/app/src/gambas3/.src/Project/FCreateProject.class @@ -94,7 +94,7 @@ Private Sub CreateProject() As Boolean Project.CopyProject($sTemplate, sDir) Shell "rm -rf " & Shell$(sDir &/ ".lang") Wait - Kill sDir &/ "icon.png" + Try Kill sDir &/ "icon.png" sTemp = Temp$() @@ -218,7 +218,7 @@ Public Sub wizProject_Close() If CreateProject() Then Return - Message(("The project has been successfully created.")) + 'Message(("The project has been successfully created.")) InAnotherWindow = chkOther.Value