add API to access PBD::UndoHistory member of HistoryOwner
This commit is contained in:
parent
c4534cc9c4
commit
911ad78c06
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user