Activate the completion only when the canonical symbol has a valid name.

This commit is contained in:
Roberto Raggi
2009-10-26 13:45:01 +01:00
parent 3c0ca8c188
commit a2b5184123
2 changed files with 11 additions and 5 deletions

View File

@@ -656,6 +656,9 @@ void CppFindReferences::renameUsages(Symbol *symbol)
void CppFindReferences::findAll_helper(Symbol *symbol)
{
if (! (symbol && symbol->identifier()))
return;
_resultWindow->popup(true);
const Snapshot snapshot = _modelManager->snapshot();