mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 08:26:19 +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,6 +326,7 @@ 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
|
||||||
|
if (ListboxComponents.ItemIndex >= 0) then
|
||||||
ListboxComponentsDblClick(Sender);
|
ListboxComponentsDblClick(Sender);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user