mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-09 22:08:43 -06:00
patterns: Fixed [[static]] attribute and majorly reduced memory usage
Fixes #394
This commit is contained in:
@@ -7,7 +7,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
ViewPatternData::ViewPatternData() : View("hex.builtin.view.pattern_data.name") {
|
||||
|
||||
EventManager::subscribe<EventPatternChanged>(this, [this]() {
|
||||
EventManager::subscribe<EventPatternChanged>(this, [this](auto&) {
|
||||
this->m_sortedPatternData.clear();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user