| 14 | { |
| 15 | |
| 16 | void ActionRenameData::doAction() |
| 17 | { |
| 18 | mOldValues.emplace_back(getProperty(), getProperty()->getValue()); |
| 19 | getProperty()->setValue(getValue()); |
| 20 | |
| 21 | DataPtr parent = getProperty()->getOwner()->getParent(); |
| 22 | PropertyUtility::storeUniqueNameProperty("Name", "UniqueName", parent, mOldValues); |
| 23 | } |
| 24 | |
| 25 | void ActionRenameData::undoAction() |
| 26 | { |