From a1a26dbbc141d2f281d1be3fe630dcc14858c826 Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Tue, 2 Sep 2025 09:50:57 -0700 Subject: Further improve feature map behavior when feature map pane is hidden --- ui/pane.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/pane.h b/ui/pane.h index 60aed6c8..53f8a4bf 100644 --- a/ui/pane.h +++ b/ui/pane.h @@ -423,6 +423,13 @@ class BINARYNINJAUIAPI SplitPaneWidget : public QWidget void bindActions(); + // Returns the feature map for the current view. If none exists, a new feature map + // will be created, registered, and returned. + FeatureMap* featureMapForCurrentView(); + + // Update the visible feature map to match the current view. + void updateVisibleFeatureMap(); + public: SplitPaneWidget(Pane* initial, FileContext* fileContext); Pane* currentPane() const; @@ -435,7 +442,6 @@ class BINARYNINJAUIAPI SplitPaneWidget : public QWidget void enumerateViewPanes(const std::function& func); Pane* paneAt(const QPoint& pos); - void createFeatureMap(); void recreateFeatureMaps(); void refreshFeatureMap(); void resetFeatureMap(bool sizeOnly = false); -- cgit v1.3.1