| 28 | } |
| 29 | |
| 30 | void ActionChangePositionData::undoAction() |
| 31 | { |
| 32 | if (mIndex != MyGUI::ITEM_NONE) |
| 33 | { |
| 34 | DataPtr parent = mData1->getParent(); |
| 35 | |
| 36 | parent->removeChild(mData1); |
| 37 | parent->insertChild(mIndex, mData1); |
| 38 | |
| 39 | DataSelectorManager::getInstance().changeParent(parent); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | void ActionChangePositionData::setData1(DataPtr _data) |
| 44 | { |
nothing calls this directly
no test coverage detected