fix: Pattern data filter not working correctly without a compare value

This commit is contained in:
WerWolv
2025-01-25 23:16:44 +01:00
parent 93f1f5d076
commit 09c9bcb046

View File

@@ -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);
}
});