FIX: update the image size

jira: [STUDIO-10732]
Change-Id: Ib4d55b911740cef079f38cd497d40a29ae3b1031
(cherry picked from commit 0ffcd9cc13ce7bbc1f6f96a09647e2f6afa112b1)
This commit is contained in:
xin.zhang authored and Noisyfox committed 2025-09-17 23:08:20 +08:00
1 parent 587e524302
commit 6632db0758
3 files changed
+15 -8

No files matched your search

+4 -1
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)