session: add API to get access to the current reversible command (if any)
This commit is contained in:
parent
f7fd015cb3
commit
b240423e50
@ -1121,6 +1121,8 @@ public:
|
||||
return _current_trans && !_current_trans->empty ();
|
||||
}
|
||||
|
||||
PBD::UndoTransaction* current_reversible_command() { return _current_trans; }
|
||||
|
||||
/**
|
||||
* Abort reversible command IFF no undo changes
|
||||
* have been collected.
|
||||
|
Loading…
Reference in New Issue
Block a user