mirror of https://gitlab.com/basile.b/dexed.git
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:
parent
a9b6cb65e2
commit
69ea68117f
|
@ -316,7 +316,7 @@ begin
|
||||||
if isValidNativeProject(fname) then
|
if isValidNativeProject(fname) then
|
||||||
proj := TCENativeProject.create(nil) as ICECommonProject
|
proj := TCENativeProject.create(nil) as ICECommonProject
|
||||||
else if isValidDubProject(fname) then
|
else if isValidDubProject(fname) then
|
||||||
proj := TCENativeProject.create(nil) as ICECommonProject;
|
proj := TCEDubProject.create(nil) as ICECommonProject;
|
||||||
if assigned(proj) then
|
if assigned(proj) then
|
||||||
proj.loadFromFile(fname)
|
proj.loadFromFile(fname)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue