| 70 | } |
| 71 | |
| 72 | void CmdAttributeEdit::setUnit(const AttributeUnit* unit) noexcept { |
| 73 | Q_ASSERT(!wasEverExecuted()); |
| 74 | mNewUnit = unit; |
| 75 | } |
| 76 | |
| 77 | /******************************************************************************* |
| 78 | * Inherited from UndoCommand |