ui: Show overview bundles for non-indexed or symbol types if no others available

This commit is contained in:
Eberhard Graether
2018-12-16 23:51:53 +01:00
parent 1dabbab599
commit dd4a880ec3
3 changed files with 29 additions and 9 deletions
@@ -41,8 +41,8 @@ void QtGraphNodeBundle::onClick()
{
MessageGraphNodeBundleSplit(
m_tokenId,
!m_type.isUnknownSymbol() && getName() != L"Anonymous Namespaces", // TODO: move to language package
!m_type.isUnknownSymbol()
(!m_type.isUnknownSymbol() || getName() == L"Symbols") && getName() != L"Anonymous Namespaces", // TODO: move to language package
!m_type.isUnknownSymbol() || getName() == L"Symbols"
).dispatch();
}