mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Implemented SPE-874
(Delete items from context menu for Simple mode)
This commit is contained in:
parent
456d09be76
commit
bdaadcccd9
3 changed files with 47 additions and 3 deletions
|
@ -871,7 +871,7 @@ void ObjectList::append_menu_items_add_volume(wxMenu* menu)
|
|||
|
||||
const ConfigOptionMode mode = wxGetApp().get_mode();
|
||||
|
||||
if (mode < comExpert)
|
||||
if (mode == comAdvanced)
|
||||
{
|
||||
append_menu_item(menu, wxID_ANY, _(L("Add part")), "",
|
||||
[this](wxCommandEvent&) { load_subobject(ModelVolumeType::MODEL_PART); }, *m_bmp_vector[int(ModelVolumeType::MODEL_PART)]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue