From 19dacabb7c199d55ffff28ebdc6a090af733a399 Mon Sep 17 00:00:00 2001 From: juha Date: Sun, 23 Nov 2014 15:01:51 +0000 Subject: [PATCH] IDE: formatting git-svn-id: trunk@46969 - --- ide/main.pp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ide/main.pp b/ide/main.pp index c817a7b297..4e311f235d 100644 --- a/ide/main.pp +++ b/ide/main.pp @@ -7211,10 +7211,8 @@ begin if (Result=mrOK) then begin if BuildLazProfiles.RestartAfterBuild and (BuildLazProfiles.Current.TargetDirectory='') - and MainBuildBoss.BuildTargetIDEIsDefault - then begin + and MainBuildBoss.BuildTargetIDEIsDefault then mnuRestartClicked(nil); - end end else if Result=mrIgnore then Result:=mrOK; @@ -7266,9 +7264,8 @@ begin finally BuildLazProfiles.CurrentIndex:=RealCurInd; end; - if MayNeedRestart and BuildLazProfiles.RestartAfterBuild then begin + if MayNeedRestart and BuildLazProfiles.RestartAfterBuild then mnuRestartClicked(nil); - end; end; end;