mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 15:00:31 +02:00
IconFinder: Fix hanging after arrow key press. Patch by @dsiders, issue #41142
This commit is contained in:
parent
3f8ba46cfc
commit
be8e37dc2f
@ -388,6 +388,7 @@ begin
|
|||||||
SelectedIndex := SelectedIndex + (ThumbnailCount - 1 - SelectedIndex) div FColCount * FColCount;
|
SelectedIndex := SelectedIndex + (ThumbnailCount - 1 - SelectedIndex) div FColCount * FColCount;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Key := 0; // discard key... not handled in TWinControl or handled here
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TBasicThumbnailViewer.MouseDown(Button: TMouseButton; Shift:TShiftState;
|
procedure TBasicThumbnailViewer.MouseDown(Button: TMouseButton; Shift:TShiftState;
|
||||||
|
Loading…
Reference in New Issue
Block a user