ui: Show undefined nodes when activating namespace

This commit is contained in:
Eberhard Graether
2016-04-21 23:25:07 +02:00
parent 96ec7e9fa3
commit 780530ba3c
+1 -1
View File
@@ -439,7 +439,7 @@ std::shared_ptr<Graph> Storage::getGraphForActiveTokenIds(const std::vector<Id>&
std::vector<StorageNode> nodes = m_sqliteStorage.getNodesByIds(ids);
for (const StorageNode& node : nodes)
{
if (node.id > 0 && (!isNamespace || intToDefinitionType(node.definitionType) == DEFINITION_EXPLICIT))
if (node.id > 0 && (!isNamespace || intToDefinitionType(node.definitionType) != DEFINITION_IMPLICIT))
{
nodeIds.push_back(node.id);
}