IDE: correctly assign captions to tabs in search results window even if user started two parallel searches, bug #20217

git-svn-id: trunk@32340 -
This commit is contained in:
maxim 2011-09-14 22:05:43 +00:00
parent e7f74691ff
commit 6f281ea701

View File

@ -913,7 +913,7 @@ begin
[mbCancel],0);
end;
finally
ListPage.Caption:= Format('%s (%d)',[SearchResultsView.WorkedSearchText,Cnt]);
ListPage.Caption:= Format('%s (%d)',[ListPage.Caption,Cnt]);
SearchResultsView.EndUpdate(ListPage.PageIndex);
// bring to front
IDEWindowCreators.ShowForm(SearchResultsView,true);