From f4eacb67424a63d5235977b4dc8fd418f3767716 Mon Sep 17 00:00:00 2001 From: "xin.zhang" Date: Tue, 15 Apr 2025 15:27:10 +0800 Subject: [PATCH] ENH: do not popup if at heating mode jira: [STUDIO-11471] Change-Id: Ic7a6b33b84cf0880a7f4c2581c9ccdd1ef752cec (cherry picked from commit 1480c97ffac75afb422fd8fb2cc21cbec6b2de72) --- src/slic3r/GUI/DeviceManager.hpp | 1 + src/slic3r/GUI/StatusPanel.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/DeviceManager.hpp b/src/slic3r/GUI/DeviceManager.hpp index b9a4f1e31f..eaf527d700 100644 --- a/src/slic3r/GUI/DeviceManager.hpp +++ b/src/slic3r/GUI/DeviceManager.hpp @@ -812,6 +812,7 @@ public: //new fan data AirDuctData m_air_duct_data; + bool is_at_heating_mode() const { return m_air_duct_data.curren_mode == AIR_DUCT_HEATING_INTERNAL_FILT; }; void converse_to_duct(bool is_suppt_part_fun, bool is_suppt_aux_fun, bool is_suppt_cham_fun); // Convert the data to duct type to make the newand old protocols consistent /* signals */ diff --git a/src/slic3r/GUI/StatusPanel.cpp b/src/slic3r/GUI/StatusPanel.cpp index 9cddcf9212..90587e9eda 100644 --- a/src/slic3r/GUI/StatusPanel.cpp +++ b/src/slic3r/GUI/StatusPanel.cpp @@ -4141,7 +4141,7 @@ void StatusPanel::on_set_chamber_temp() m_tempCtrl_chamber->Warning(false); } - if (chamber_temp >= obj->chamber_temp_switch_heat) + if (!obj->is_at_heating_mode() && chamber_temp >= obj->chamber_temp_switch_heat) { #ifndef __APPLE__ MessageDialog champer_switch_head_dlg(this, _L("If the chamber temperature exceeds 40\u2103, the system will automatically switch to heating mode. "