mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 01:55:56 +02:00
IDE: fix a crash when a search results tab is closed while another tab is active.
git-svn-id: trunk@35328 -
This commit is contained in:
parent
a9dab89451
commit
b4aa41e12e
@ -474,7 +474,7 @@ var
|
||||
CurrentTV: TLazSearchResultTV;
|
||||
begin
|
||||
CurrentTV := GetTreeView(ResultsNoteBook.PageIndex);
|
||||
if Assigned(CurrentTV) then begin
|
||||
if Assigned(CurrentTV) and not (csDestroying in CurrentTV.ComponentState) then begin
|
||||
SearchInListEdit.FilteredTreeview := CurrentTV;
|
||||
SearchInListEdit.Filter := CurrentTV.SearchInListPhrases;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user