NEW:support for filament backup and edit

Change-Id: Id0a83e56df75253046cc07d972e9ad156690bbe7
This commit is contained in:
tao wang 2023-04-26 09:22:26 +08:00 committed by Lane.Wei
parent 2c00a44de6
commit 80d6479bee
9 changed files with 295 additions and 272 deletions

View file

@ -1554,7 +1554,7 @@ void SelectMachineDialog::popup_filament_backup()
{
DeviceManager* dev = Slic3r::GUI::wxGetApp().getDeviceManager();
if (!dev) return;
if (dev->get_selected_machine() && dev->get_selected_machine()->filam_bak.size() > 0) {
if (dev->get_selected_machine()/* && dev->get_selected_machine()->filam_bak.size() > 0*/) {
AmsReplaceMaterialDialog* m_replace_material_popup = new AmsReplaceMaterialDialog(this);
m_replace_material_popup->update_machine_obj(dev->get_selected_machine());
m_replace_material_popup->ShowModal();