From 3858dfe3d14b04ef062aff0395317672d589bd79 Mon Sep 17 00:00:00 2001 From: "hu.wang" Date: Thu, 23 Nov 2023 17:54:16 +0800 Subject: [PATCH] FIX:a blank pop-up appears JIRA:XXXX Change-Id: Ice92b55204e4897fec024a6d99412eb810bddd4a --- src/slic3r/GUI/DeviceManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/DeviceManager.cpp b/src/slic3r/GUI/DeviceManager.cpp index 486def05f..403fa9d13 100644 --- a/src/slic3r/GUI/DeviceManager.cpp +++ b/src/slic3r/GUI/DeviceManager.cpp @@ -3017,11 +3017,13 @@ int MachineObject::parse_json(std::string payload) else if (jj["errno"].get() == -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 + } } } }