Tracker: Unchecked dynamic_cast, CID 600347

This commit is contained in:
John Scipione 2014-07-24 22:00:29 -04:00
parent bee19b9428
commit d2af6ff104
1 changed files with 3 additions and 0 deletions

View File

@ -1548,6 +1548,9 @@ FindPanel::GetByNamePredicate(BQuery* query) const
ASSERT(textControl != NULL);
if (textControl == NULL)
return;
query->PushAttr("name");
query->PushString(textControl->TextView()->Text(), true);