Fixed multiple segfault bugs
This commit is contained in:
parent
fda8fcc166
commit
caf99a8675
7 changed files with 41 additions and 11 deletions
|
|
@ -32,6 +32,13 @@ void DrawingProgramLayerListItem::reassign_netobj_ids_call() {
|
|||
displayData.reassign_ids();
|
||||
}
|
||||
|
||||
void DrawingProgramLayerListItem::set_to_erase() {
|
||||
if(folderData)
|
||||
folderData->set_to_erase();
|
||||
else
|
||||
layerData->set_to_erase();
|
||||
}
|
||||
|
||||
void DrawingProgramLayerListItem::set_component_list_callbacks(DrawingProgramLayerManager &layerMan) {
|
||||
if(folderData)
|
||||
folderData->set_component_list_callbacks(layerMan);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue