ADD: Patch [ 1874345 ] fconfigtoobar from B4rr4cuda

This commit is contained in:
Alexander Koblov 2008-01-19 09:51:42 +00:00
commit d4a347f8a4

View file

@ -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;