Assign uuid to newborn groups

This commit is contained in:
seatedscribe 2017-03-06 23:05:06 +01:00
parent 39057a6aa0
commit f4791c19e1
No known key found for this signature in database
GPG Key ID: 274436320C4CD03B

View File

@ -272,6 +272,7 @@ Group *CsvImportWidget::splitGroups(QString label) {
Group *brandNew = new Group();
brandNew->setParent(current);
brandNew->setName(groupName);
brandNew->setUuid(Uuid::random());
current = brandNew;
} else {
Q_ASSERT(children != nullptr);