mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 16:38:02 +02:00
ide: fixed cancel project options resetting Subtarget
This commit is contained in:
parent
5f8eab811a
commit
ce77f4dfae
BIN
components/jitclasses/demo/JitObjInspectorDemo
Executable file
BIN
components/jitclasses/demo/JitObjInspectorDemo
Executable file
Binary file not shown.
BIN
components/jitclasses/demo/JitObjInspectorDemo.res
Normal file
BIN
components/jitclasses/demo/JitObjInspectorDemo.res
Normal file
Binary file not shown.
@ -323,12 +323,14 @@ begin
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
//debugln(['TCompilerConfigTargetFrame.FillSubTargetComboBox UseSubTarget="',UseSubTarget,'" Candidates=[',sl.Text,']']);
|
||||
with SubtargetComboBox do begin
|
||||
Items.BeginUpdate;
|
||||
Items.Assign(sl);
|
||||
SetComboBoxText(SubtargetComboBox,UseSubTarget,cstCaseInsensitive);
|
||||
Items.EndUpdate;
|
||||
end;
|
||||
//debugln(['TCompilerConfigTargetFrame.FillSubTargetComboBox SubtargetComboBox: Text="',SubtargetComboBox.Text,'" Index=',SubtargetComboBox.ItemIndex,' Items=[',SubtargetComboBox.Items.Text,']']);
|
||||
finally
|
||||
sl.Free;
|
||||
end;
|
||||
|
@ -2951,6 +2951,7 @@ begin
|
||||
fTargetOS := CompOpts.fTargetOS;
|
||||
fTargetCPU := CompOpts.fTargetCPU;
|
||||
fTargetProc := CompOpts.fTargetProc;
|
||||
FSubtarget := CompOpts.FSubtarget;
|
||||
fOptLevel := CompOpts.fOptLevel;
|
||||
fVarsInReg := CompOpts.fVarsInReg;
|
||||
fUncertainOpt := CompOpts.fUncertainOpt;
|
||||
|
Loading…
Reference in New Issue
Block a user