FIX: update the image size

jira: [STUDIO-10732]
Change-Id: Ib4d55b911740cef079f38cd497d40a29ae3b1031
(cherry picked from commit 0ffcd9cc13ce7bbc1f6f96a09647e2f6afa112b1)
This commit is contained in:
xin.zhang
2025-03-07 11:36:47 +08:00
committed by Noisyfox
parent 587e524302
commit 6632db0758
3 changed files with 15 additions and 8 deletions

View File

@@ -1084,7 +1084,10 @@ void AMSControl::UpdateAms(const std::string& series_name, std::vector<AMSinfo>
}
/*update ams extruder*/
m_extruder->updateNozzleNum(m_extder_data.total_extder_count, series_name);
if (m_extruder->updateNozzleNum(m_extder_data.total_extder_count, series_name))
{
m_amswin->Layout();
}
}
void AMSControl::AddAmsPreview(AMSinfo info, AMSModel type)