ui: always show whole file on top when selecting file node

This commit is contained in:
Eberhard Graether
2015-09-29 15:22:00 +02:00
parent 201e6d24a9
commit 4782efddcb
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
// nothing here
// except for text
@@ -174,7 +174,7 @@ std::vector<CodeView::CodeSnippetParams> CodeController::getSnippetsForActiveTok
}
);
if (isDeclarationFile || collection->getTokenLocationFileCount() < 5)
if (isDeclarationFile || collection->getTokenLocationFileCount() < 5 || file->isWholeCopy)
{
std::vector<CodeView::CodeSnippetParams> fileSnippets = getSnippetsForActiveTokenLocationsInFile(file);