From 6d445f5754e66e25df064ea7cffe5a75ed7328ca Mon Sep 17 00:00:00 2001 From: "liz.li" Date: Tue, 4 Apr 2023 16:20:34 +0800 Subject: [PATCH] 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 --- src/slic3r/GUI/SelectMachine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/SelectMachine.cpp b/src/slic3r/GUI/SelectMachine.cpp index ab52261e6..9cbe9b2d4 100644 --- a/src/slic3r/GUI/SelectMachine.cpp +++ b/src/slic3r/GUI/SelectMachine.cpp @@ -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];