summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-07-06 17:14:29 -0400
committerMason Reed <mason@vector35.com>2025-07-06 17:14:29 -0400
commit8f3e251c42169fb4fe8db9403d900571434d88ff (patch)
tree86a9c81510cea1af478837c72fa5d40bf24fe351 /plugins/warp/src/plugin
parent9b4183e62ae5a2ca166fb7552d68a0e84467ca02 (diff)
[WARP] Fix tag type creation marking the view as modified
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);