mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 22:39:30 +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;
|
||||
|
||||
procedure TEdtTbConfigForm.miAllClick(Sender: TObject);
|
||||
var
|
||||
aMask: Integer;
|
||||
begin
|
||||
if lvToolbar.ItemIndex = -1 then begin
|
||||
puMenuItems.Close;
|
||||
Exit
|
||||
end;
|
||||
aMask:= StrToInt(lvToolbar.Selected.SubItems[0]);
|
||||
if miAll.Checked then begin
|
||||
lvToolbar.Selected.SubItems[0] := IntToStr(iAll);
|
||||
miDesign.Checked := False;
|
||||
|
@ -53,18 +53,12 @@ type
|
||||
implementation
|
||||
|
||||
uses
|
||||
CodeAtom
|
||||
,SrcEditorIntf
|
||||
SrcEditorIntf
|
||||
,LazIDEIntf
|
||||
,Controls
|
||||
,CodeCache
|
||||
,CustomCodeTool
|
||||
,Dialogs
|
||||
,SysUtils
|
||||
,LResources
|
||||
,Forms
|
||||
,ComCtrls
|
||||
,Menus
|
||||
,editortoolbar_str
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user