ENH:aAdd protection logic for AMS backup
Change-Id: I5ae871aa03cfe706c7c079cd60a4422cae4464fb
This commit is contained in:
parent
50f9bdbd91
commit
2b1fdcf327
|
@ -928,6 +928,10 @@ void SelectMachineDialog::check_fcous_state(wxWindow* window)
|
|||
|
||||
void SelectMachineDialog::popup_filament_backup()
|
||||
{
|
||||
if (m_print_status == PrintStatusUnsupportedPrinter) {
|
||||
return;
|
||||
}
|
||||
|
||||
DeviceManager* dev = Slic3r::GUI::wxGetApp().getDeviceManager();
|
||||
if (!dev) return;
|
||||
if (dev->get_selected_machine()/* && dev->get_selected_machine()->filam_bak.size() > 0*/) {
|
||||
|
|
Loading…
Reference in New Issue