From f0622f3c3f4eb742a1b20e5a26b10facff9a2b4c Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Sun, 20 Sep 2015 00:02:14 +0200 Subject: [PATCH] isValid_xxx_project, the project subject is actually an internal class so these calls made nothing --- src/ce_dubproject.pas | 1 - src/ce_nativeproject.pas | 1 - 2 files changed, 2 deletions(-) diff --git a/src/ce_dubproject.pas b/src/ce_dubproject.pas index 5f53f9ad..d2aea83a 100644 --- a/src/ce_dubproject.pas +++ b/src/ce_dubproject.pas @@ -690,7 +690,6 @@ begin // avoid the project to notify the observers, current project is not replaced EntitiesConnector.beginUpdate; maybe := TCEDubProject.create(nil); - EntitiesConnector.removeSubject(maybe); try try maybe.loadFromFile(filename); diff --git a/src/ce_nativeproject.pas b/src/ce_nativeproject.pas index 63d8c1e8..86f90788 100644 --- a/src/ce_nativeproject.pas +++ b/src/ce_nativeproject.pas @@ -931,7 +931,6 @@ begin // avoid the project to notify the observers, current project is not replaced EntitiesConnector.beginUpdate; maybe := TCENativeProject.create(nil); - EntitiesConnector.removeSubject(maybe); try maybe.loadFromFile(filename); result := maybe.hasLoaded;