From 3ac99aa88c7019c8313304ef74dd5bbb468a74bc Mon Sep 17 00:00:00 2001 From: Xusheng Date: Thu, 11 Jan 2024 14:23:54 +0800 Subject: Expose the BinaryView::ForgetUndoActions API and use avoid undo actions warning in the debugger --- binaryview.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'binaryview.cpp') diff --git a/binaryview.cpp b/binaryview.cpp index e45fce8a..dba5bbc7 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1455,6 +1455,12 @@ void BinaryView::RevertUndoActions(const string& id) } +void BinaryView::ForgetUndoActions(const std::string &id) +{ + m_file->ForgetUndoActions(id); +} + + bool BinaryView::CanUndo() { return m_file->CanUndo(); -- cgit v1.3.1