| 18 | } |
| 19 | |
| 20 | void CtrlrPanelUndoManager::endTransaction() |
| 21 | { |
| 22 | if (transactionPending) |
| 23 | { |
| 24 | if (getNumActionsInCurrentTransaction() > 0) |
| 25 | { |
| 26 | owner.actionPerformed(); |
| 27 | } |
| 28 | } |
| 29 | transactionPending = false; |
| 30 | } |
| 31 | |
| 32 | bool CtrlrPanelUndoManager::undo() |
| 33 | { |
no test coverage detected