Incorrect iteration direction for SelectLast method caused it to act like SelectFirst
This commit is contained in:
parent
6b13daa2dc
commit
7c3d746844
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user