Added delete_instance_from_list(obj_idx, inst_idx) function
This commit is contained in:
parent
b721f9431a
commit
ad8f270796
@ -1155,6 +1155,11 @@ void ObjectList::delete_volume_from_list(const size_t obj_idx, const size_t vol_
|
||||
select_item(m_objects_model->Delete(m_objects_model->GetItemByVolumeId(obj_idx, vol_idx)));
|
||||
}
|
||||
|
||||
void ObjectList::delete_instance_from_list(const size_t obj_idx, const size_t inst_idx)
|
||||
{
|
||||
select_item(m_objects_model->Delete(m_objects_model->GetItemByInstanceId(obj_idx, inst_idx)));
|
||||
}
|
||||
|
||||
void ObjectList::delete_all_objects_from_list()
|
||||
{
|
||||
m_objects_model->DeleteAll();
|
||||
|
@ -116,6 +116,7 @@ public:
|
||||
void delete_object_from_list();
|
||||
void delete_object_from_list(const size_t obj_idx);
|
||||
void delete_volume_from_list(const size_t obj_idx, const size_t vol_idx);
|
||||
void delete_instance_from_list(const size_t obj_idx, const size_t inst_idx);
|
||||
// Delete all objects from the list
|
||||
void delete_all_objects_from_list();
|
||||
// Increase instances count
|
||||
|
Loading…
Reference in New Issue
Block a user