mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-11 06:35:38 -05:00
Assign uuid to newborn groups
This commit is contained in:
parent
39057a6aa0
commit
f4791c19e1
1 changed files with 1 additions and 0 deletions
|
|
@ -272,6 +272,7 @@ Group *CsvImportWidget::splitGroups(QString label) {
|
||||||
Group *brandNew = new Group();
|
Group *brandNew = new Group();
|
||||||
brandNew->setParent(current);
|
brandNew->setParent(current);
|
||||||
brandNew->setName(groupName);
|
brandNew->setName(groupName);
|
||||||
|
brandNew->setUuid(Uuid::random());
|
||||||
current = brandNew;
|
current = brandNew;
|
||||||
} else {
|
} else {
|
||||||
Q_ASSERT(children != nullptr);
|
Q_ASSERT(children != nullptr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue