IDE: Show (default) text also in TargetOS and TargetCPU option controls for consistency.

git-svn-id: trunk@42038 -
This commit is contained in:
juha 2013-07-09 18:54:50 +00:00
parent 7978db505c
commit 664d9707a1

View File

@ -344,16 +344,17 @@ begin
TargetProcessorProcComboBox.Text := 'default';
end else begin
grpTargetPlatform.Visible:=true;
// Target OS
i := TargetOSComboBox.Items.IndexOf(TargetOS);
if i < 0 then
i := 0; // 0 is default
TargetOSComboBox.ItemIndex := i;
TargetOSComboBox.Text := TargetOS;
// Target CPU family
i := TargetCPUComboBox.Items.IndexOf(TargetCPU);
if i < 0 then
i := 0; // 0 is default
TargetCPUComboBox.ItemIndex := i;
TargetCPUComboBox.Text := TargetCPU;
// Target Processor
TargetProcessorProcComboBox.Text := ProcessorToCaption(TargetProcessor);
cmbSyntaxMode.Text := SyntaxModeToCaption(SyntaxMode);