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

Method undoAction

Tools/SkinEditor/CreateSkinDataAction.cpp:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

changeParentMethod · 0.80
removeChildMethod · 0.45

Tested by

no test coverage detected