mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 04:12:07 +00:00
Fix blank DataViewItem being added to objects list
This commit is contained in:
@@ -480,7 +480,7 @@ wxDataViewItem ObjectDataViewModel::AddPlate(PartPlate* part_plate, wxString nam
|
||||
}
|
||||
}
|
||||
|
||||
if (!is_added) {
|
||||
if (!is_added && plate_idx != -1) {
|
||||
m_plates.push_back(plate_node);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user