Revert "IDE: Another debug message ...", fLastCompPaletteForm was freed -> crash.

git-svn-id: trunk@47098 -
This commit is contained in:
juha 2014-12-04 17:12:04 +00:00
parent 4ead586177
commit d16d9236fd

View File

@ -3674,11 +3674,6 @@ end;
procedure TMainIDE.UpdateIDEComponentPalette(IfFormChanged: boolean);
begin
{$IFDEF VerboseComponentPalette}
DebugLn(['* TMainIDE.UpdateIDEComponentPalette',
', fLastCompPaletteForm=', fLastCompPaletteForm,
', LastFormActivated=', LastFormActivated]);
{$ENDIF}
if IfFormChanged and (fLastCompPaletteForm=LastFormActivated) then exit;
fLastCompPaletteForm:=LastFormActivated;
IDEComponentPalette.HideControls:=(LastFormActivated<>nil)