mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-11 16:00:17 -07:00
Fix blank DataViewItem being added to objects list
This commit is contained in:
parent
8e26df2815
commit
d13bbb1890
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue