diff options
| author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-10-26 13:45:01 +0100 |
|---|---|---|
| committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-10-26 13:45:27 +0100 |
| commit | a2b518412307a03addcd63ccd6b9bce4eacdd4a7 (patch) | |
| tree | ab75acd63c59b4e9563d6e4630e48d716c851300 /src/plugins/cpptools/cppfindreferences.cpp | |
| parent | 3c0ca8c18881bc26fd8946bc2651fa89b10a1329 (diff) | |
| download | qt-creator-a2b518412307a03addcd63ccd6b9bce4eacdd4a7.tar.gz | |
Activate the completion only when the canonical symbol has a valid name.
Diffstat (limited to 'src/plugins/cpptools/cppfindreferences.cpp')
| -rw-r--r-- | src/plugins/cpptools/cppfindreferences.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppfindreferences.cpp b/src/plugins/cpptools/cppfindreferences.cpp index eb90a18678..06ae979060 100644 --- a/src/plugins/cpptools/cppfindreferences.cpp +++ b/src/plugins/cpptools/cppfindreferences.cpp @@ -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(); |
