mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-21 04:13:50 +00:00
FIX:a blank pop-up appears
JIRA:XXXX Change-Id: Ice92b55204e4897fec024a6d99412eb810bddd4a
This commit is contained in:
@@ -3017,6 +3017,7 @@ int MachineObject::parse_json(std::string payload)
|
|||||||
else if (jj["errno"].get<int>() == -4) {
|
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.");
|
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__
|
#if __WXOSX__
|
||||||
set_ctt_dlg(text);
|
set_ctt_dlg(text);
|
||||||
#else
|
#else
|
||||||
@@ -3025,6 +3026,7 @@ int MachineObject::parse_json(std::string payload)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if (jj["command"].get<std::string>() == "push_status") {
|
if (jj["command"].get<std::string>() == "push_status") {
|
||||||
|
|||||||
Reference in New Issue
Block a user