summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/warp/src/plugin')
-rw-r--r--plugins/warp/src/plugin/workflow.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/warp/src/plugin/workflow.rs b/plugins/warp/src/plugin/workflow.rs
index db95b567..2d76222c 100644
--- a/plugins/warp/src/plugin/workflow.rs
+++ b/plugins/warp/src/plugin/workflow.rs
@@ -71,7 +71,9 @@ impl Command for RunMatcher {
pub fn run_matcher(view: &BinaryView) {
// TODO: Create the tag type so we dont have UB in the apply function workflow.
+ let undo_id = view.file().begin_undo_actions(false);
let _ = get_warp_tag_type(view);
+ view.file().forget_undo_actions(&undo_id);
// Alert the user if we have no actual regions (one comes from the synthetic section).
let regions = relocatable_regions(view);