From 3078aa02d2f825ecda9485b69ab758a45950c9f6 Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 10 Jun 2010 06:33:53 +0000 Subject: [PATCH] IDE: fixed crash in env options git-svn-id: trunk@26017 - --- ide/frames/window_options.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/ide/frames/window_options.pas b/ide/frames/window_options.pas index 323ff93575..ead7758ef5 100644 --- a/ide/frames/window_options.pas +++ b/ide/frames/window_options.pas @@ -187,6 +187,7 @@ begin for APlacement := Low(TIDEWindowPlacement) to High(TIDEWindowPlacement) do begin RadioButton := GetPlacementRadioButtons(APlacement); + if RadioButton=nil then continue; if APlacement in Layout.WindowPlacementsAllowed then begin RadioButton.Enabled := True;