mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-25 21:36:15 +02:00
IDE: Fix a crash in Components View. Issue #20305, patch from Bart Broersma
git-svn-id: trunk@32446 -
This commit is contained in:
parent
39d0a7fdfe
commit
751cd5b9ae
@ -326,7 +326,8 @@ procedure TComponentListForm.ListboxComponentsKeyDown(Sender: TObject;
|
|||||||
var Key: Word; Shift: TShiftState);
|
var Key: Word; Shift: TShiftState);
|
||||||
begin
|
begin
|
||||||
if Key = VK_RETURN then
|
if Key = VK_RETURN then
|
||||||
ListboxComponentsDblClick(Sender);
|
if (ListboxComponents.ItemIndex >= 0) then
|
||||||
|
ListboxComponentsDblClick(Sender);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TComponentListForm.SetFocusToDataList;
|
procedure TComponentListForm.SetFocusToDataList;
|
||||||
|
Loading…
Reference in New Issue
Block a user