create new folder added

This commit is contained in:
itsmattkc
2019-07-05 11:04:23 -05:00
parent dae4310a7e
commit bc631c495d
10 changed files with 170 additions and 39 deletions
+4
View File
@@ -39,6 +39,10 @@ void Item::add_child(Item* c)
return;
}
if (c->parent_ != nullptr) {
c->parent_->remove_child(c);
}
children_.append(c);
c->parent_ = this;
}