13
0

session: add API to get access to the current reversible command (if any)

This commit is contained in:
Paul Davis 2023-08-16 09:04:22 -06:00
parent f7fd015cb3
commit b240423e50

View File

@ -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.