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

Method undoAction

Tools/EditorFramework/ActionCreateData.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 }
38
39 void ActionCreateData::undoAction()
40 {
41 mParent->removeChild(mData);
42
43 DataSelectorManager::getInstance().changeParent(mParent);
44
45 PropertyUtility::restoreUniqueNameProperty(mOldValues);
46 }
47
48 void ActionCreateData::setParent(DataPtr _parent)
49 {

Callers

nothing calls this directly

Calls 2

changeParentMethod · 0.80
removeChildMethod · 0.45

Tested by

no test coverage detected