1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-19 09:24:27 +00:00

Do not show anything in vertical slider if estimated times are missing

This commit is contained in:
enricoturri1966
2020-11-24 12:00:46 +01:00
parent b2ab5db69b
commit 1ce8cddbda
+1 -1
View File
@@ -630,7 +630,7 @@ wxString Control::get_label(int tick, LabelType label_type/* = ltHeightWithLayer
else {
if (label_type == ltEstimatedTime) {
if (m_values.size() != m_layers_times.size())
return "time";
return wxEmptyString;
return short_and_splitted_time(get_time_dhms(m_layers_times[value]));
}
wxString str = m_values.empty() ?