mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 12:59:19 +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);
|
procedure TCodeToolManager.FreeListOfPCodeXYPosition(var List: TFPList);
|
||||||
begin
|
begin
|
||||||
if List<>nil then begin
|
if List<>nil then begin
|
||||||
FreeListOfPCodeXYPosition(List);
|
CodeAtom.FreeListOfPCodeXYPosition(List);
|
||||||
List:=nil;
|
List:=nil;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
10
ide/main.pp
10
ide/main.pp
@ -2950,12 +2950,12 @@ end;
|
|||||||
|
|
||||||
procedure TMainIDE.DoToggleViewComponentPalette;
|
procedure TMainIDE.DoToggleViewComponentPalette;
|
||||||
var
|
var
|
||||||
ComponentPalleteVisible: boolean;
|
ComponentPaletteVisible: boolean;
|
||||||
begin
|
begin
|
||||||
ComponentPalleteVisible:=not MainIDEBar.ComponentNotebook.Visible;
|
ComponentPaletteVisible:=not MainIDEBar.ComponentNotebook.Visible;
|
||||||
MainIDEBar.itmViewComponentPalette.Checked:=ComponentPalleteVisible;
|
MainIDEBar.itmViewComponentPalette.Checked:=ComponentPaletteVisible;
|
||||||
MainIDEBar.ComponentNotebook.Visible:=ComponentPalleteVisible;
|
MainIDEBar.ComponentNotebook.Visible:=ComponentPaletteVisible;
|
||||||
EnvironmentOptions.ComponentPaletteVisible:=ComponentPalleteVisible;
|
EnvironmentOptions.ComponentPaletteVisible:=ComponentPaletteVisible;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TMainIDE.DoToggleViewIDESpeedButtons;
|
procedure TMainIDE.DoToggleViewIDESpeedButtons;
|
||||||
|
Loading…
Reference in New Issue
Block a user