src: replaced references to NODE_FILE with call to isFile
This commit is contained in:
@@ -503,7 +503,7 @@ std::string BookmarkController::getNodeDisplayName(const Id nodeId) const
|
||||
NodeType type = m_storageAccess->getNodeTypeForNodeWithId(nodeId);
|
||||
NameHierarchy nameHierarchy = m_storageAccess->getNameHierarchyForNodeId(nodeId);
|
||||
|
||||
if (type.getType() == NodeType::NODE_FILE)
|
||||
if (type.isFile())
|
||||
{
|
||||
return FilePath(nameHierarchy.getQualifiedName()).fileName();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user