Skip to content

Commit 8f3e251

Browse files
committed
[WARP] Fix tag type creation marking the view as modified
1 parent 9b4183e commit 8f3e251

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/warp/src/plugin/workflow.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ impl Command for RunMatcher {
7171

7272
pub fn run_matcher(view: &BinaryView) {
7373
// TODO: Create the tag type so we dont have UB in the apply function workflow.
74+
let undo_id = view.file().begin_undo_actions(false);
7475
let _ = get_warp_tag_type(view);
76+
view.file().forget_undo_actions(&undo_id);
7577

7678
// Alert the user if we have no actual regions (one comes from the synthetic section).
7779
let regions = relocatable_regions(view);

0 commit comments

Comments
 (0)