data: Fixed file node finding in search and undoing file activations in graph
This commit is contained in:
@@ -1078,7 +1078,7 @@ std::vector<Id> PersistentStorage::getTokenIdsForMatches(const std::vector<Searc
|
||||
{
|
||||
if (match.nodeType == Node::NODE_FILE)
|
||||
{
|
||||
idSet.insert(m_sqliteStorage.getFileByPath(rootPath.concat(match.subtext).str()).id);
|
||||
idSet.insert(m_sqliteStorage.getFileByPath(rootPath.concat(match.subtext).canonical().str()).id);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user