mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 17:59:26 +02:00
EditorToolbar: Cleanup by G. Colla.
git-svn-id: trunk@46417 -
This commit is contained in:
parent
101f210424
commit
e873d7c3ec
@ -408,14 +408,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TEdtTbConfigForm.miAllClick(Sender: TObject);
|
procedure TEdtTbConfigForm.miAllClick(Sender: TObject);
|
||||||
var
|
|
||||||
aMask: Integer;
|
|
||||||
begin
|
begin
|
||||||
if lvToolbar.ItemIndex = -1 then begin
|
if lvToolbar.ItemIndex = -1 then begin
|
||||||
puMenuItems.Close;
|
puMenuItems.Close;
|
||||||
Exit
|
Exit
|
||||||
end;
|
end;
|
||||||
aMask:= StrToInt(lvToolbar.Selected.SubItems[0]);
|
|
||||||
if miAll.Checked then begin
|
if miAll.Checked then begin
|
||||||
lvToolbar.Selected.SubItems[0] := IntToStr(iAll);
|
lvToolbar.Selected.SubItems[0] := IntToStr(iAll);
|
||||||
miDesign.Checked := False;
|
miDesign.Checked := False;
|
||||||
|
@ -53,18 +53,12 @@ type
|
|||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
CodeAtom
|
SrcEditorIntf
|
||||||
,SrcEditorIntf
|
|
||||||
,LazIDEIntf
|
,LazIDEIntf
|
||||||
,Controls
|
,Controls
|
||||||
,CodeCache
|
,CodeCache
|
||||||
,CustomCodeTool
|
|
||||||
,Dialogs
|
,Dialogs
|
||||||
,SysUtils
|
,SysUtils
|
||||||
,LResources
|
|
||||||
,Forms
|
|
||||||
,ComCtrls
|
|
||||||
,Menus
|
|
||||||
,editortoolbar_str
|
,editortoolbar_str
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user