MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / endTransaction

Method endTransaction

Source/Core/CtrlrPanel/CtrlrPanelUndoManager.cpp:20–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

mouseUpMethod · 0.80

Calls 1

actionPerformedMethod · 0.80

Tested by

no test coverage detected