From d32a550355b7c4e7eba5e6dac7df7db7894b5139 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 2 Oct 2025 10:23:13 -0400 Subject: Add additional helpers for right-click menu cleanup --- ui/action.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/action.h') diff --git a/ui/action.h b/ui/action.h index 238121ec..1b22f180 100644 --- a/ui/action.h +++ b/ui/action.h @@ -252,8 +252,10 @@ class BINARYNINJAUIAPI UIActionHandler ActionPriority getPriority(const QString& name); void bindCopyAsActions(const UITransformAction& action); + void bindCopyAsActions(const UITransformAction& action, const std::function& shouldShow); void bindPasteFromActions(const UITransformAction& action); void bindTransformActions(const UITransformAction& encode, const UITransformAction& decode); + void bindTransformActions(const UITransformAction& encode, const UITransformAction& decode, const std::function& shouldShow); void unbindCopyAsActions(); void unbindPasteFromActions(); void unbindTransformActions(); -- cgit v1.3.1