From d74f95b11c71afec4504d6d3145595890a5e26d5 Mon Sep 17 00:00:00 2001 From: skalogryz Date: Tue, 19 Jan 2016 13:59:15 +0000 Subject: [PATCH] iphonelazext: removed the interception of project building action git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4440 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/iphonelazext/ideext.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/iphonelazext/ideext.pas b/components/iphonelazext/ideext.pas index d4d4a612e..74b253343 100644 --- a/components/iphonelazext/ideext.pas +++ b/components/iphonelazext/ideext.pas @@ -285,6 +285,9 @@ end; function TiPhoneExtension.ProjectBuilding(Sender: TObject): TModalResult; begin Result:=mrOk; + Exit; + //todo:detect if the selected target is iSim or iOS and try to install it! + if not Assigned(LazarusIDE.ActiveProject) or not ProjOptions.isIPhoneApp then Exit; LazarusIDE.ActiveProject.LazCompilerOptions.CustomOptions :=