fix, a DUB project couldnt be opened from the mini explorer and trying to do so lead to an AV

This commit is contained in:
Basile Burg 2015-11-04 07:54:22 +01:00
parent a9b6cb65e2
commit 69ea68117f
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ begin
if isValidNativeProject(fname) then
proj := TCENativeProject.create(nil) as ICECommonProject
else if isValidDubProject(fname) then
proj := TCENativeProject.create(nil) as ICECommonProject;
proj := TCEDubProject.create(nil) as ICECommonProject;
if assigned(proj) then
proj.loadFromFile(fname)
else