mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 10:47:50 -06:00
FIX: cannot calibrate when printer is offline [STUDIO-3387]
Change-Id: I93cf532363bc41feee0deb9782906bd3e79ee127
This commit is contained in:
parent
7b6b4bd958
commit
59b6b59a9a
4 changed files with 18 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue