mirror of https://gitlab.com/basile.b/dexed.git
isValid_xxx_project, the project subject is actually an internal class so these calls made nothing
This commit is contained in:
parent
94f34b3f88
commit
f0622f3c3f
|
@ -690,7 +690,6 @@ begin
|
||||||
// avoid the project to notify the observers, current project is not replaced
|
// avoid the project to notify the observers, current project is not replaced
|
||||||
EntitiesConnector.beginUpdate;
|
EntitiesConnector.beginUpdate;
|
||||||
maybe := TCEDubProject.create(nil);
|
maybe := TCEDubProject.create(nil);
|
||||||
EntitiesConnector.removeSubject(maybe);
|
|
||||||
try
|
try
|
||||||
try
|
try
|
||||||
maybe.loadFromFile(filename);
|
maybe.loadFromFile(filename);
|
||||||
|
|
|
@ -931,7 +931,6 @@ begin
|
||||||
// avoid the project to notify the observers, current project is not replaced
|
// avoid the project to notify the observers, current project is not replaced
|
||||||
EntitiesConnector.beginUpdate;
|
EntitiesConnector.beginUpdate;
|
||||||
maybe := TCENativeProject.create(nil);
|
maybe := TCENativeProject.create(nil);
|
||||||
EntitiesConnector.removeSubject(maybe);
|
|
||||||
try
|
try
|
||||||
maybe.loadFromFile(filename);
|
maybe.loadFromFile(filename);
|
||||||
result := maybe.hasLoaded;
|
result := maybe.hasLoaded;
|
||||||
|
|
Loading…
Reference in New Issue