FIX: time displayed inconsisitently(STUDIO-2001)

time displayed in send_dialog should be consistent with time displayed
in preview legend.
Change-Id: I4aa3bd0e8e7a2688cb7b97ea39fd9c0e1a361f52

Change-Id: I3763f5232ab61a5609248f1f7d79373f4077fec7
This commit is contained in:
liz.li 2023-04-04 16:20:34 +08:00 committed by Lane.Wei
parent e25dd0ca01
commit 6d445f5754

View file

@ -3262,7 +3262,7 @@ void SelectMachineDialog::set_default()
wxString time;
PartPlate *plate = m_plater->get_partplate_list().get_curr_plate();
if (plate) {
if (plate->get_slice_result()) { time = wxString::Format("%s", get_bbl_monitor_time_dhm(plate->get_slice_result()->print_statistics.modes[0].time)); }
if (plate->get_slice_result()) { time = wxString::Format("%s", short_time(get_time_dhms(plate->get_slice_result()->print_statistics.modes[0].time))); }
}
char weight[64];