mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-03 13:30:37 -07:00
FIX:a blank pop-up appears
JIRA:XXXX Change-Id: Ice92b55204e4897fec024a6d99412eb810bddd4a
This commit is contained in:
parent
35e9572b89
commit
3858dfe3d1
1 changed files with 2 additions and 0 deletions
|
|
@ -3017,11 +3017,13 @@ int MachineObject::parse_json(std::string payload)
|
|||
else if (jj["errno"].get<int>() == -4) {
|
||||
text = _L("When you set the chamber temperature below 40\u2103, the chamber temperature control will not be activated. And the target chamber temperature will automatically be set to 0\u2103.");
|
||||
}
|
||||
if(!text.empty()){
|
||||
#if __WXOSX__
|
||||
set_ctt_dlg(text);
|
||||
#else
|
||||
GUI::wxGetApp().show_dialog(text);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue