* \brief End the current undo stack macro */
| 1079 | * \brief End the current undo stack macro |
| 1080 | */ |
| 1081 | void AbstractAspect::endMacro() { |
| 1082 | if (!d->m_undoAware || (project() && !project()->isUndoAware())) |
| 1083 | return; |
| 1084 | |
| 1085 | QUndoStack* stack = undoStack(); |
| 1086 | if (stack) |
| 1087 | stack->endMacro(); |
| 1088 | } |
| 1089 | |
| 1090 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 1091 | //@} |
no test coverage detected