mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: cannot calibrate when printer is offline [STUDIO-3387]
Change-Id: I93cf532363bc41feee0deb9782906bd3e79ee127
This commit is contained in:
@@ -556,6 +556,13 @@ void PressureAdvanceWizard::on_cali_start()
|
||||
void PressureAdvanceWizard::on_cali_save()
|
||||
{
|
||||
if (curr_obj) {
|
||||
if (curr_obj->is_connecting() || !curr_obj->is_connected())
|
||||
{
|
||||
MessageDialog msg_dlg(nullptr, _L("Connecting to printer..."), wxEmptyString, wxOK);
|
||||
msg_dlg.ShowModal();
|
||||
return;
|
||||
}
|
||||
|
||||
if (curr_obj->get_printer_series() == PrinterSeries::SERIES_X1) {
|
||||
if (m_cali_method == CalibrationMethod::CALI_METHOD_AUTO) {
|
||||
std::vector<PACalibResult> new_pa_cali_results;
|
||||
|
||||
Reference in New Issue
Block a user