mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 23:29:16 +02:00
PoChecker: remove redundant code from TGraphStatForm.ListViewMouseMove.
git-svn-id: trunk@46309 -
This commit is contained in:
parent
f69337f6ce
commit
b717742113
@ -88,13 +88,11 @@ end;
|
||||
procedure TGraphStatForm.ListViewMouseMove(Sender: TObject; Shift: TShiftState;
|
||||
X, Y: Integer);
|
||||
var
|
||||
Pt: types.TPoint;
|
||||
Item: TListItem;
|
||||
Index: Integer;
|
||||
AStat: TStat;
|
||||
begin
|
||||
Pt:= Listview.ScreenToClient(Mouse.CursorPos );
|
||||
Item := Listview.GetItemAt(Pt.X, Pt.Y);
|
||||
Item := Listview.GetItemAt(X, Y);
|
||||
if Assigned(Item) then
|
||||
begin
|
||||
Index := Item.Index;
|
||||
|
Loading…
Reference in New Issue
Block a user