13
0

add API to access PBD::UndoHistory member of HistoryOwner

This commit is contained in:
Paul Davis 2024-06-30 08:15:41 -06:00
parent c4534cc9c4
commit 911ad78c06

View File

@ -85,6 +85,8 @@ class LIBPBD_API HistoryOwner
void add_commands (std::vector<PBD::Command*> const & cmds);
PBD::UndoHistory& undo_redo() { return _history; }
protected:
std::string _name;
PBD::UndoHistory _history;