From b51d07b9db95156828f4a1dd1c92f312d1e4ca94 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 13 Oct 2010 23:00:32 +0000 Subject: [PATCH] Editor-Color-Opts: disable edges dropdown, if not used git-svn-id: trunk@27693 - --- ide/frames/editor_color_options.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ide/frames/editor_color_options.pas b/ide/frames/editor_color_options.pas index e0fd25e487..6df88d3500 100644 --- a/ide/frames/editor_color_options.pas +++ b/ide/frames/editor_color_options.pas @@ -891,6 +891,8 @@ begin FrameColorUseDefaultCheckBox.Checked := FrameColorBox.Selected <> clDefault; FrameEdgesBox.ItemIndex := integer(AttrToShow.FrameEdges); FrameStyleBox.ItemIndex := integer(AttrToShow.FrameStyle); + FrameEdgesBox.Enabled := FrameColorUseDefaultCheckBox.Checked; + FrameStyleBox.Enabled := FrameColorUseDefaultCheckBox.Checked; // Styles TextBoldCheckBox.Visible := hafStyle in AttrToShow.Features;