mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 21:10:42 +02:00
IDE: Respond to Enter in SearchResultsView when focus on FilterEdit. Issue #28277, patch from Ondrej Pokorny.
git-svn-id: trunk@49317 -
This commit is contained in:
parent
fa041aeae9
commit
5572c8e982
@ -75,7 +75,6 @@ object SearchResultsView: TSearchResultsView
|
||||
NumGlyphs = 1
|
||||
BorderSpacing.Left = 6
|
||||
MaxLength = 0
|
||||
ParentFont = False
|
||||
TabOrder = 0
|
||||
OnChange = SearchInListChange
|
||||
end
|
||||
|
@ -444,6 +444,11 @@ begin
|
||||
Node.Expand(False);
|
||||
end;
|
||||
Key := #0;
|
||||
end else
|
||||
if Key = Char(VK_RETURN) then //SearchInListEdit passes only OnPress through
|
||||
begin
|
||||
Key := #0;
|
||||
FOnSelectionChanged(Self);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user