patterns: Added hidden attribute

This commit is contained in:
WerWolv
2021-06-17 23:42:43 +02:00
parent 21f8fb4090
commit b4b2c41b34
4 changed files with 24 additions and 5 deletions

View File

@@ -162,8 +162,9 @@ namespace hex {
EventManager::subscribe<EventPatternChanged>(this, [this]() {
this->m_highlightedBytes.clear();
for (const auto &pattern : SharedData::patternData)
for (const auto &pattern : SharedData::patternData) {
this->m_highlightedBytes.merge(pattern->getHighlightedAddresses());
}
});
EventManager::subscribe<RequestOpenWindow>(this, [this](std::string name) {