summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2024-01-11 14:23:54 +0800
committerXusheng <xusheng@vector35.com>2024-01-11 14:23:54 +0800
commit3ac99aa88c7019c8313304ef74dd5bbb468a74bc (patch)
treea3b32aa0810255559dafaff2319a94d9af329f3a /binaryview.cpp
parent17aca5059072a5167a0d10eaee70c529083d569b (diff)
Expose the BinaryView::ForgetUndoActions API and use avoid undo actions warning in the debugger
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp6
1 files changed, 6 insertions, 0 deletions
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();