1
0
mirror of synced 2024-11-05 03:09:15 +00:00

Incorrect iteration direction for SelectLast method caused it to act like SelectFirst

This commit is contained in:
Mark van Renswoude 2010-03-30 13:24:19 +00:00
parent 6b13daa2dc
commit 7c3d746844

View File

@ -2661,7 +2661,7 @@ begin
if AllowInteraction then if AllowInteraction then
begin begin
Result := Iterate(FindEnabledItem, mbdDown); Result := Iterate(FindEnabledItem, mbdUp);
if Assigned(Result) then if Assigned(Result) then
SelectedItem := Result; SelectedItem := Result;
end; end;