From 1480c97ffac75afb422fd8fb2cc21cbec6b2de72 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 --- 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 a985e8d4c..0fe64a549 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 99ad012f4..9002dd406 100644 --- a/src/slic3r/GUI/StatusPanel.cpp +++ b/src/slic3r/GUI/StatusPanel.cpp @@ -4128,7 +4128,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. "