IDE: fixed AV when resetting the filter in search results view (bug #7689)

git-svn-id: trunk@10273 -
This commit is contained in:
vincents 2006-12-01 20:22:43 +00:00
parent 82dafe9281
commit f5483e721d

View File

@ -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