328:3ea38fd469ca | 329:6d75fa09cc0c |
---|---|
276 | 276 |
277 void Model::clear() | 277 void Model::clear() |
278 { | 278 { |
279 this->beginResetModel(); | 279 this->beginResetModel(); |
280 this->body.clear(); | 280 this->body.clear(); |
281 this->positions.clear(); | |
282 this->runningId = {1}; | |
281 this->endResetModel(); | 283 this->endResetModel(); |
282 } | 284 } |
283 | 285 |
284 void save(const Model &model, QTextStream* stream) | 286 void save(const Model &model, QTextStream* stream) |
285 { | 287 { |