IDE: fix nil pointer in code explorer middle mouse click. Issue #40188

This commit is contained in:
Martin 2023-04-02 20:57:00 +02:00
parent f0ce562200
commit efaf08ed99

View File

@ -530,10 +530,12 @@ var
begin
if Button=mbMiddle then begin
Node:=CodeTreeview.GetNodeAt(X,Y);
if Node <> nil then begin
Node.Selected:=true;
JumpToSelection(true);
end;
end;
end;
procedure TCodeExplorerView.DirectivesFilterEditChange(Sender: TObject);
begin