mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Patch [ 1874345 ] fconfigtoobar from B4rr4cuda
This commit is contained in:
parent
ade67a1e4d
commit
d4a347f8a4
1 changed files with 5 additions and 0 deletions
|
|
@ -183,7 +183,10 @@ end;
|
|||
procedure TfrmConfigToolBar.btnAddButtonClick(Sender: TObject);
|
||||
begin
|
||||
Save;
|
||||
|
||||
NewToolButton := ktbBar.AddButton('', '', '', '');
|
||||
ktbBar.Buttons[ktbBar.ButtonCount-1].Down:=true;
|
||||
ktbBarToolButtonClick(Sender,ktbBar.ButtonCount-1);
|
||||
//ShowMessage(IntToStr(NewToolButton));
|
||||
end;
|
||||
|
||||
|
|
@ -234,6 +237,8 @@ begin
|
|||
kedtToolTip.Text := '';
|
||||
LastToolButton := -1;
|
||||
NewToolButton := -1;
|
||||
ktbBar.Buttons[ktbBar.ButtonCount-1].Down:=true;
|
||||
ktbBarToolButtonClick(Sender,ktbBar.ButtonCount-1);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue