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

Method undoAction

Tools/EditorFramework/ActionCloneData.cpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 }
47
48 void ActionCloneData::undoAction()
49 {
50 mParent->removeChild(mData);
51
52 DataSelectorManager::getInstance().changeParent(mParent);
53
54 PropertyUtility::restoreUniqueNameProperty(mOldValues);
55 }
56
57 void ActionCloneData::setPrototype(DataPtr _prototype)
58 {

Callers

nothing calls this directly

Calls 2

changeParentMethod · 0.80
removeChildMethod · 0.45

Tested by

no test coverage detected