summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh F <josh@vector35.com>2021-10-15 16:11:02 -0400
committerJosh F <josh@vector35.com>2021-10-15 16:11:02 -0400
commite6ca3a951901ff7167c518d6fa52c0d4311b893a (patch)
treed3b6dc7d615ca4dddb9e3d605ed7ed627c10d34d
parent8177643b10cad42b7eedab605e65fe7700a5ef8c (diff)
Clear relevant filters in type list when navigating to a hidden type
-rw-r--r--ui/typeview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/typeview.h b/ui/typeview.h
index c5631a23..ff34c8b8 100644
--- a/ui/typeview.h
+++ b/ui/typeview.h
@@ -328,6 +328,8 @@ class BINARYNINJAUIAPI TypeFilter: public QWidget
ClickableIcon* m_showSystemTypes;
TypeFilterEdit* m_textFilter;
+ std::set<std::string> m_textFilteredTypeNames;
+
bool MatchesAutoFilter(BinaryViewRef data, const BinaryNinja::QualifiedName& name);
bool MatchesTextFilter(const std::vector<TypeDefinitionLine>& lines);
@@ -347,6 +349,8 @@ public:
bool areAutoTypesVisible();
void setShowAutoTypes(bool showAutoTypes);
void clearTextFilter();
+
+ bool isTypeTextFiltered(const std::string& name) const;
};