FIX: do not show refill if there is one tray
jira: none Change-Id: I2623ca6d565716a9d3950af21175f4799800b956
This commit is contained in:
parent
3035493585
commit
920736cf4e
|
@ -1685,6 +1685,11 @@ void AmsReplaceMaterialDialog::update_to_nozzle(int nozzle_id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (group_info.size() < 2) /* do not show refill if there is one tray*/
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (is_in_tray || m_tray_used.size() <= 0)
|
if (is_in_tray || m_tray_used.size() <= 0)
|
||||||
{
|
{
|
||||||
m_groups_sizer->Add(create_backup_group(wxString::Format("%s%d", _L("Group"), group_index + 1), group_info, group_material), 0, wxALL, FromDIP(10));
|
m_groups_sizer->Add(create_backup_group(wxString::Format("%s%d", _L("Group"), group_index + 1), group_info, group_material), 0, wxALL, FromDIP(10));
|
||||||
|
|
Loading…
Reference in New Issue