mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 19:41:08 +02:00
codetools: fixed crash on FreeListOfPCodeXYPosition, IDE: fixed spelling mistake
git-svn-id: trunk@13436 -
This commit is contained in:
parent
d6b44baddd
commit
c126253698
@ -1405,7 +1405,7 @@ end;
|
||||
procedure TCodeToolManager.FreeListOfPCodeXYPosition(var List: TFPList);
|
||||
begin
|
||||
if List<>nil then begin
|
||||
FreeListOfPCodeXYPosition(List);
|
||||
CodeAtom.FreeListOfPCodeXYPosition(List);
|
||||
List:=nil;
|
||||
end;
|
||||
end;
|
||||
|
10
ide/main.pp
10
ide/main.pp
@ -2950,12 +2950,12 @@ end;
|
||||
|
||||
procedure TMainIDE.DoToggleViewComponentPalette;
|
||||
var
|
||||
ComponentPalleteVisible: boolean;
|
||||
ComponentPaletteVisible: boolean;
|
||||
begin
|
||||
ComponentPalleteVisible:=not MainIDEBar.ComponentNotebook.Visible;
|
||||
MainIDEBar.itmViewComponentPalette.Checked:=ComponentPalleteVisible;
|
||||
MainIDEBar.ComponentNotebook.Visible:=ComponentPalleteVisible;
|
||||
EnvironmentOptions.ComponentPaletteVisible:=ComponentPalleteVisible;
|
||||
ComponentPaletteVisible:=not MainIDEBar.ComponentNotebook.Visible;
|
||||
MainIDEBar.itmViewComponentPalette.Checked:=ComponentPaletteVisible;
|
||||
MainIDEBar.ComponentNotebook.Visible:=ComponentPaletteVisible;
|
||||
EnvironmentOptions.ComponentPaletteVisible:=ComponentPaletteVisible;
|
||||
end;
|
||||
|
||||
procedure TMainIDE.DoToggleViewIDESpeedButtons;
|
||||
|
Loading…
Reference in New Issue
Block a user