From 664d9707a1969ff96779e0a352efebdeed147d12 Mon Sep 17 00:00:00 2001 From: juha Date: Tue, 9 Jul 2013 18:54:50 +0000 Subject: [PATCH] IDE: Show (default) text also in TargetOS and TargetCPU option controls for consistency. git-svn-id: trunk@42038 - --- ide/frames/compiler_config_target.pas | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ide/frames/compiler_config_target.pas b/ide/frames/compiler_config_target.pas index 6f9089c9a6..395bb8cee5 100644 --- a/ide/frames/compiler_config_target.pas +++ b/ide/frames/compiler_config_target.pas @@ -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);