FIX: prevent the dialog in macOS
jira: [STUDIO-10386] Change-Id: I19c5df3c2c110979d57190c9219f76f6f6911f85
This commit is contained in:
parent
b547933f14
commit
d4d4b76ce5
|
@ -3935,10 +3935,10 @@ void StatusPanel::on_set_chamber_temp()
|
||||||
wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL);
|
wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (champer_switch_head_dlg->ShowModal() != wxID_OK)
|
/*the dialog will be blocked APPLE, let the printer send back message*/
|
||||||
{
|
#ifndef _APPLE
|
||||||
return;
|
if (champer_switch_head_dlg->ShowModal() != wxID_OK) { return; }
|
||||||
}
|
#endif // _APPLE
|
||||||
}
|
}
|
||||||
|
|
||||||
obj->command_set_chamber(chamber_temp);
|
obj->command_set_chamber(chamber_temp);
|
||||||
|
|
Loading…
Reference in New Issue