mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 09:37:29 +01:00
IDE: fixed AV when resetting the filter in search results view (bug #7689)
git-svn-id: trunk@10273 -
This commit is contained in:
parent
82dafe9281
commit
f5483e721d
@ -343,7 +343,7 @@ var i: Integer;
|
||||
begin
|
||||
CurrentLB := GetListBox(ResultsNoteBook.PageIndex);
|
||||
try
|
||||
if CurrentLB.Filtered then
|
||||
if assigned(CurrentLB) and CurrentLB.Filtered then
|
||||
begin
|
||||
if (CurrentLB.Items.Count > 0) then
|
||||
begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user