We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d83685 + 4ce1eee commit da6f5fdCopy full SHA for da6f5fd
IDE/Contents/Source/PolycodeEntityEditor.cpp
@@ -1335,8 +1335,8 @@ void EntityEditorMainView::deleteSelected(bool doAction) {
1335
selectedEntities[i]->setOwnsChildrenRecursive(true);
1336
for(int j=0; j < icons.size(); j++) {
1337
if(icons[j]->getUserData() == selectedEntities[i]) {
1338
- delete icons[j];
1339
icons[j]->getParentEntity()->removeChild(icons[j]);
+ delete icons[j];
1340
icons.erase(icons.begin()+j);
1341
break;
1342
}
0 commit comments