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.
1 parent 98042c1 commit 4ce1eeeCopy full SHA for 4ce1eee
IDE/Contents/Source/PolycodeEntityEditor.cpp
@@ -1328,8 +1328,8 @@ void EntityEditorMainView::deleteSelected(bool doAction) {
1328
selectedEntities[i]->setOwnsChildrenRecursive(true);
1329
for(int j=0; j < icons.size(); j++) {
1330
if(icons[j]->getUserData() == selectedEntities[i]) {
1331
- delete icons[j];
1332
icons[j]->getParentEntity()->removeChild(icons[j]);
+ delete icons[j];
1333
icons.erase(icons.begin()+j);
1334
break;
1335
}
0 commit comments