summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2023-06-21 16:12:15 -0400
committerPeter LaFosse <peter@vector35.com>2023-06-21 16:12:15 -0400
commit9f1ded021920a3187250e18fe08c7457be4417dd (patch)
tree3a118be14d5dccc7204b8f885618be5ce056e5ab /ui
parent067e49d16da566d51edf2af77b9c8a0f796809d0 (diff)
Allow copy & copy-as to operate on 'full' string instead of string annotation
Diffstat (limited to 'ui')
-rw-r--r--ui/flowgraphwidget.h1
-rw-r--r--ui/linearview.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h
index 2344e2e9..392e8dd9 100644
--- a/ui/flowgraphwidget.h
+++ b/ui/flowgraphwidget.h
@@ -254,6 +254,7 @@ class BINARYNINJAUIAPI FlowGraphWidget :
void disableZoom();
virtual void sendWheelEvent(QWheelEvent* event) override;
+ virtual bool canCopyWithTransform() override;
virtual bool canCut() override;
virtual bool canCopy() override;
virtual bool canPaste() override;
diff --git a/ui/linearview.h b/ui/linearview.h
index 9b2093ba..969dcd5f 100644
--- a/ui/linearview.h
+++ b/ui/linearview.h
@@ -445,6 +445,7 @@ public:
virtual void followPointer();
+ virtual bool canCopyWithTransform() override;
virtual void cut() override;
virtual void copy(TransformRef xform = nullptr) override;
virtual void paste(TransformRef xform = nullptr) override;