From e6ca3a951901ff7167c518d6fa52c0d4311b893a Mon Sep 17 00:00:00 2001 From: Josh F Date: Fri, 15 Oct 2021 16:11:02 -0400 Subject: Clear relevant filters in type list when navigating to a hidden type --- ui/typeview.h | 4 ++++ 1 file changed, 4 insertions(+) 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 m_textFilteredTypeNames; + bool MatchesAutoFilter(BinaryViewRef data, const BinaryNinja::QualifiedName& name); bool MatchesTextFilter(const std::vector& lines); @@ -347,6 +349,8 @@ public: bool areAutoTypesVisible(); void setShowAutoTypes(bool showAutoTypes); void clearTextFilter(); + + bool isTypeTextFiltered(const std::string& name) const; }; -- cgit v1.3.1