From 8c8888c3f9a377d4e3306ec067b8c3d5fbed7ddd Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 20 Mar 2025 21:43:04 -0400 Subject: Add API for refreshing UI without needing an analysis update --- ui/viewframe.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/viewframe.h') diff --git a/ui/viewframe.h b/ui/viewframe.h index aa3b5f02..01e833b5 100644 --- a/ui/viewframe.h +++ b/ui/viewframe.h @@ -245,6 +245,7 @@ class BINARYNINJAUIAPI View void updateCrossReferenceSelection(ViewFrame* frame = nullptr); void forceSyncFromView(ViewFrame* frame = nullptr); + virtual void refreshContents() {} virtual void clearRelatedHighlights() {} virtual void setRelatedIndexHighlights(FunctionRef func, const std::set& related) { (void)func; (void)related; } @@ -518,6 +519,7 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget void syncToOtherViews(); void forceSyncFromView(); + void refreshContents(); ViewFrame* getOtherPane(); -- cgit v1.3.1