mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-11 07:56:27 +01:00
session: add API to get access to the current reversible command (if any)
This commit is contained in:
parent
f7fd015cb3
commit
b240423e50
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue