MCPcopy Create free account
hub / github.com/MyGUI/mygui / undoAction

Method undoAction

UnitTests/TestApp/ActionDestroyData.cpp:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 void ActionDestroyData::undoAction()
37 {
38 DataManager::getInstance().getRoot()->addChild(mData);
39
40 DataManager::getInstance().invalidateDatas();
41
42 mComplete = false;
43 }
44
45 void ActionDestroyData::setData(Data* _data)
46 {

Callers

nothing calls this directly

Calls 3

invalidateDatasMethod · 0.80
addChildMethod · 0.45
getRootMethod · 0.45

Tested by

no test coverage detected