ui: fixed search navigation bug

* fixed bug where navigating backwards to a symbol that was activated using the search bar did not update the search bar's text.
This commit is contained in:
malte_langkabel
2016-01-15 13:43:09 +01:00
parent 2c4711f657
commit ca4fb79af7
@@ -108,6 +108,9 @@ std::shared_ptr<MessageActivateTokens> ActivationTranslator::translateMessage(co
m = std::make_shared<MessageActivateTokens>(tokenIds);
m->undoRedoType = message->undoRedoType;
m->setKeepContent(message->keepContent());
m->isFromSearch = true;
if (message->isFresh())
{
m->isFromSearch = true;
}
return m;
}