mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 10:15:55 +08:00
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate
This commit is contained in:
commit
1f98140667
@ -471,7 +471,7 @@ wxMenu* MenuFactory::append_submenu_add_generic(wxMenu* menu, ModelVolumeType ty
|
|||||||
|
|
||||||
const ConfigOptionMode mode = wxGetApp().get_mode();
|
const ConfigOptionMode mode = wxGetApp().get_mode();
|
||||||
|
|
||||||
if (mode > comSimple) {
|
if (type != ModelVolumeType::INVALID && mode > comSimple) {
|
||||||
append_menu_item(sub_menu, wxID_ANY, _L("Load") + " " + dots, "",
|
append_menu_item(sub_menu, wxID_ANY, _L("Load") + " " + dots, "",
|
||||||
[type](wxCommandEvent&) { obj_list()->load_subobject(type); }, "", menu);
|
[type](wxCommandEvent&) { obj_list()->load_subobject(type); }, "", menu);
|
||||||
sub_menu->AppendSeparator();
|
sub_menu->AppendSeparator();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user