ui: Added history of last active symbols to UI and menu (issue 151)
* holding down back or forward button shows list of current back-forward stack * added narrow button between back and forward to show the list * added History menu * moved back and forward actions to History menu * show chronological list of recently active symbols in History menu bug id = 151 fortune cookie message = Dein Geschäft wird gut laufen und expandieren.
This commit is contained in:
@@ -56,6 +56,7 @@ void ActivationController::handleMessage(MessageActivateFile* message)
|
||||
MessageActivateTokens m(message);
|
||||
m.tokenIds.push_back(fileId);
|
||||
m.tokenNames.push_back(message->filePath.str());
|
||||
m.searchMatches = m_storageAccess->getSearchMatchesForTokenIds({ fileId });
|
||||
m.dispatchImmediately();
|
||||
}
|
||||
else
|
||||
@@ -87,6 +88,7 @@ void ActivationController::handleMessage(MessageActivateNodes* message)
|
||||
}
|
||||
m.tokenNames.push_back(node.nameHierarchy);
|
||||
}
|
||||
m.searchMatches = m_storageAccess->getSearchMatchesForTokenIds(m.tokenIds);
|
||||
m.dispatchImmediately();
|
||||
}
|
||||
|
||||
@@ -128,7 +130,7 @@ void ActivationController::handleMessage(MessageSearch* message)
|
||||
m.tokenIds = message->getTokenIdsOfMatches();
|
||||
m.searchMatches = matches;
|
||||
m.tokenNames = m_storageAccess->getNameHierarchiesForNodeIds(m.tokenIds);
|
||||
m.isFromSearch = true;
|
||||
m.isFromSearch = message->isFromSearch;
|
||||
m.dispatchImmediately();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user