FIX: show all re-fill while sending print

jira: [STUDIO-10888]
Change-Id: I2b1a98eddd2c34a83a73ef7cbef39ab05d569aef
(cherry picked from commit ee76a2191ff633af3311ef659b9feb63e7bdedeb)
This commit is contained in:
xin.zhang
2025-03-17 10:31:19 +08:00
committed by Noisyfox
parent 5ce8613053
commit 293787609b
4 changed files with 0 additions and 17 deletions

View File

@@ -2069,20 +2069,6 @@ void AmsReplaceMaterialDialog::create()
Fit();
}
void AmsReplaceMaterialDialog::update_mapping_result( std::vector<FilamentInfo> result)
{
m_tray_used.clear();
for (int i = 0; i < result.size(); i++) {
if (result[i].tray_id == VIRTUAL_TRAY_MAIN_ID || result[i].tray_id == VIRTUAL_TRAY_DEPUTY_ID)
{
continue;
}
m_tray_used.push_back(wxGetApp().transition_tridid(result[i].tray_id).ToStdString());
}
}
void AmsReplaceMaterialDialog::update_machine_obj(MachineObject* obj)
{
if (obj)