mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: prevent the dialog in macOS
jira: [STUDIO-10386] Change-Id: I19c5df3c2c110979d57190c9219f76f6f6911f85 (cherry picked from commit d4d4b76ce54b030de255d7382a831674b8c79817)
This commit is contained in:
@@ -3946,10 +3946,10 @@ void StatusPanel::on_set_chamber_temp()
|
||||
wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL);
|
||||
}
|
||||
|
||||
if (champer_switch_head_dlg->ShowModal() != wxID_OK)
|
||||
{
|
||||
return;
|
||||
}
|
||||
/*the dialog will be blocked APPLE, let the printer send back message*/
|
||||
#ifndef _APPLE
|
||||
if (champer_switch_head_dlg->ShowModal() != wxID_OK) { return; }
|
||||
#endif // _APPLE
|
||||
}
|
||||
|
||||
obj->command_set_chamber(chamber_temp);
|
||||
|
||||
Reference in New Issue
Block a user