mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 17:12:07 +00:00
ENH:aAdd protection logic for AMS backup
Change-Id: I5ae871aa03cfe706c7c079cd60a4422cae4464fb (cherry picked from commit 2b1fdcf327748d2a1e93539447d00b6ae59dbf81)
This commit is contained in:
@@ -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*/) {
|
||||
|
||||
Reference in New Issue
Block a user