diff options
| author | Peter LaFosse <peter@vector35.com> | 2025-10-02 10:23:13 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2025-11-03 10:48:11 -0500 |
| commit | d32a550355b7c4e7eba5e6dac7df7db7894b5139 (patch) | |
| tree | b789f0d1c51a41ebb372c7e1fbf00ecc953ddcd3 /ui/action.h | |
| parent | 7eedbd5c30f19c4c6c7c546e8eefb58e5f7c3e70 (diff) | |
Add additional helpers for right-click menu cleanup
Diffstat (limited to 'ui/action.h')
| -rw-r--r-- | ui/action.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<bool()>& 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<bool()>& shouldShow); void unbindCopyAsActions(); void unbindPasteFromActions(); void unbindTransformActions(); |
