mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 10:35:54 +08:00
Fixed #6832 (again - broken in 69650f7)
This commit is contained in:
parent
171508fc40
commit
7b2ee2ae0c
@ -1048,8 +1048,7 @@ void Sidebar::update_sliced_info_sizer()
|
||||
m_sliced_info->SetTextAndShow(siEstimatedTime, info_text, new_label);
|
||||
}
|
||||
|
||||
// if there is a wipe tower, insert number of toolchanges info into the array:
|
||||
m_sliced_info->SetTextAndShow(siWTNumberOfToolchanges, is_wipe_tower ? wxString::Format("%.d", ps.total_toolchanges) : "N/A");
|
||||
m_sliced_info->SetTextAndShow(siWTNumberOfToolchanges, ps.total_toolchanges > 0 ? wxString::Format("%.d", ps.total_toolchanges) : "N/A");
|
||||
|
||||
// Hide non-FFF sliced info parameters
|
||||
m_sliced_info->SetTextAndShow(siMaterial_unit, "N/A");
|
||||
|
Loading…
x
Reference in New Issue
Block a user