1
0
mirror of https://github.com/moparisthebest/Simba synced 2025-01-31 07:10:28 -05:00

Fix for SimbaSettings.

This commit is contained in:
Merlijn Wajer 2010-03-25 13:25:58 +01:00 committed by Merlijn Wajer
parent edf0d61fb8
commit 36df4aab13

View File

@ -86,7 +86,8 @@ var
begin begin
p := Mouse.CursorPos; p := Mouse.CursorPos;
pp := TSettingsForm(Sender).ScreenToClient(p);
pp := TTreeView(Sender).ScreenToClient(p);
N := SettingsTreeView.GetNodeAt(pp.x, pp.y); N := SettingsTreeView.GetNodeAt(pp.x, pp.y);
if N <> nil then if N <> nil then
if assigned(N.Data) then if assigned(N.Data) then