logic: Fixed multiple active symbols broken on undo
* fixed undoing to multiple actives didn't show all nodes in graph * fixed wrong name in search bar, status message and history dropdown * fixed flicker when activating multiple nodes in code view
This commit is contained in:
@@ -481,11 +481,10 @@ void UndoRedoController::replayCommand(std::list<Command>::iterator it)
|
||||
|
||||
if (!msg->isEdge && !msg->isAggregation)
|
||||
{
|
||||
std::pair<std::vector<Id>, std::vector<SearchMatch>> ret =
|
||||
m_storageAccess->getNodeIdsAndSearchMatchesForNameHierarchies(msg->getTokenNamesOfMatches());
|
||||
|
||||
msg->tokenIds = ret.first;
|
||||
msg->searchMatches = ret.second;
|
||||
for (SearchMatch& match : msg->getSearchMatches())
|
||||
{
|
||||
match.tokenIds = m_storageAccess->getNodeIdsForNameHierarchies(match.tokenNames);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (m->getType() == MessageActivateErrors::getStaticType())
|
||||
|
||||
Reference in New Issue
Block a user