mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Pattern data filter not working correctly without a compare value
This commit is contained in:
@@ -256,7 +256,7 @@ namespace hex::ui {
|
||||
return;
|
||||
|
||||
if (matchesFilter(m_filter.path, treePath, false)) {
|
||||
if (pattern.getValue() == m_filter.value)
|
||||
if (!m_filter.value.has_value() || pattern.getValue() == m_filter.value)
|
||||
m_filteredPatterns.push_back(&pattern);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user