File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ procedure TC4DWizardIDEToolBarsBuild.OnC4DToolButtonBuildAllGroupClick(Sender: T
302302begin
303303 LIOTAProjectGroup := (BorlandIDEServices as IOTAModuleServices).MainProjectGroup; // TC4DWizardUtilsOTA.GetCurrentProjectGroup
304304 if (LIOTAProjectGroup = nil )then
305- raise Exception.Create (' No groups selected' );
305+ TC4DWizardUtils.ShowMsgAndAbort (' No groups selected' );
306306
307307 LClearMessages := True;
308308 for LContProjetos := 0 to Pred(LIOTAProjectGroup.ProjectCount)do
@@ -321,7 +321,7 @@ procedure TC4DWizardIDEToolBarsBuild.OnC4DToolButtonCleanAndBuildClick(Sender: T
321321begin
322322 LIOTAProject := TC4DWizardUtilsOTA.GetCurrentProject;
323323 if (LIOTAProject = nil )then
324- Exit ;
324+ TC4DWizardUtils.ShowMsgAndAbort( ' No project selected ' ) ;
325325
326326 if (TC4DWizardUtils.FileNameIsC4DWizardDPROJ(LIOTAProject.FileName))then
327327 TC4DWizardUtils.ShowMsgAndAbort(' Cannot clean or build on project: ' + TC4DConsts.C4D_WIZARD_DPROJ);
@@ -347,7 +347,7 @@ procedure TC4DWizardIDEToolBarsBuild.OnC4DToolButtonBuildInReleaseClick(Sender:
347347begin
348348 LIOTAProject := TC4DWizardUtilsOTA.GetCurrentProject;
349349 if (LIOTAProject = nil )then
350- Exit ;
350+ TC4DWizardUtils.ShowMsgAndAbort( ' No project selected ' ) ;
351351
352352 if (TC4DWizardUtils.FileNameIsC4DWizardDPROJ(LIOTAProject.FileName))then
353353 TC4DWizardUtils.ShowMsgAndAbort(' It is not possible to build in project: ' + TC4DConsts.C4D_WIZARD_DPROJ);
You can’t perform that action at this time.
0 commit comments