1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Implemented SPE-874

(Delete items from context menu for Simple mode)
This commit is contained in:
YuSanka
2019-03-19 09:51:50 +01:00
parent 456d09be76
commit bdaadcccd9
3 changed files with 47 additions and 3 deletions
+1 -1
View File
@@ -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)]);