FIX: hide fan when device not in fdm

JIRA: none

Change-Id: I14a6e01b4e0950ca1bc3c805fe00313cfd7caf06
(cherry picked from commit c12b4f13911a7f6057eced54dba9e41cf75985ea)
This commit is contained in:
Kunlong Ma
2025-09-09 16:52:44 +08:00
committed by Noisyfox
parent 632281fcc0
commit 9e16287b21
5 changed files with 27 additions and 10 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ public:
class FanControlPopupNew : public PopupWindow
{
public:
FanControlPopupNew(wxWindow* parent, MachineObject* obj, AirDuctData data);
FanControlPopupNew(wxWindow* parent, MachineObject* obj, const AirDuctData& data);
~FanControlPopupNew() {};