mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-28 10:20:33 -07:00
FIX: do not use protocol to check fan control
jira: [STUDIO-12435] Change-Id: I6d5334d8eb2979f07866e4e985db6bc5179a4c18 (cherry picked from commit 3d16a94fa514c2cef118c65d788318876ea5cd91)
This commit is contained in:
parent
d44ad07cfa
commit
48dd4874d8
1 changed files with 4 additions and 4 deletions
|
|
@ -4888,11 +4888,11 @@ void StatusPanel::on_nozzle_fan_switch(wxCommandEvent &event)
|
|||
m_fan_control_popup = nullptr;
|
||||
}
|
||||
|
||||
if (!obj)
|
||||
return;
|
||||
|
||||
if (!obj->is_enable_np)
|
||||
if (!obj) { return; }
|
||||
if (obj->m_air_duct_data.modes.empty())
|
||||
{
|
||||
obj->converse_to_duct(true, obj->is_support_aux_fan, obj->is_support_chamber_fan);
|
||||
}
|
||||
|
||||
m_fan_control_popup = new FanControlPopupNew(this, obj, obj->m_air_duct_data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue