diff options
| author | Xusheng <xusheng@vector35.com> | 2024-01-11 14:23:54 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2024-01-11 14:23:54 +0800 |
| commit | 3ac99aa88c7019c8313304ef74dd5bbb468a74bc (patch) | |
| tree | a3b32aa0810255559dafaff2319a94d9af329f3a /filemetadata.cpp | |
| parent | 17aca5059072a5167a0d10eaee70c529083d569b (diff) | |
Expose the BinaryView::ForgetUndoActions API and use avoid undo actions warning in the debugger
Diffstat (limited to 'filemetadata.cpp')
| -rw-r--r-- | filemetadata.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/filemetadata.cpp b/filemetadata.cpp index 1838796d..89e759af 100644 --- a/filemetadata.cpp +++ b/filemetadata.cpp @@ -315,6 +315,12 @@ void FileMetadata::RevertUndoActions(const std::string& id) } +void FileMetadata::ForgetUndoActions(const std::string &id) +{ + BNForgetUndoActions(m_object, id.c_str()); +} + + bool FileMetadata::CanUndo() { return BNCanUndo(m_object); |
