From 5553126490179292488995883745344364507378 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 18 Feb 2025 16:16:23 -0500 Subject: Add BinaryView.forget_undo_actions Closes Vector35/binaryninja-api#6430 --- python/filemetadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/filemetadata.py') diff --git a/python/filemetadata.py b/python/filemetadata.py index a840bd78..e3357441 100644 --- a/python/filemetadata.py +++ b/python/filemetadata.py @@ -429,7 +429,7 @@ class FileMetadata: >>> state = bv.begin_undo_actions() >>> bv.convert_to_nop(0x100012f1) True - >>> bv.commit_undo_actions(state) + >>> bv.forget_undo_actions(state) >>> bv.get_disassembly(0x100012f1) 'nop' >>> bv.undo() -- cgit v1.3.1