Changeset 64 for trunk/Forms/UFormMain.pas
- Timestamp:
- Dec 4, 2014, 2:59:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r63 r64 194 194 FCurrentTarget.OnChangeState := TargetStateChanged; 195 195 FCurrentTarget.OnLog := TargetLogExecute; 196 FCurrentTarget.OptimizationLevel := Core.OptimizationLevel; 196 197 FCurrentTarget.Messages.OnChange := MessagesChanged; 197 198 end; … … 469 470 //OptionsForm.SaveToInterpretter(CurrentTarget); 470 471 OptionsForm.Save; 472 if Assigned(CurrentTarget) then 473 CurrentTarget.OptimizationLevel := Core.OptimizationLevel; 471 474 end; 472 475 end; … … 476 479 with CurrentTarget do begin 477 480 AProgramStop.Execute; 478 Optimization := coNormal;479 481 SourceCode := FormSourceCode.MemoSource.Text; 480 482 ProjectFileName := Core.Project.FileName;
Note:
See TracChangeset
for help on using the changeset viewer.