From 1ce8cddbdabe83e443c0364a8803791838a8e983 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Tue, 24 Nov 2020 12:00:46 +0100 Subject: [PATCH] Do not show anything in vertical slider if estimated times are missing --- src/slic3r/GUI/DoubleSlider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/DoubleSlider.cpp b/src/slic3r/GUI/DoubleSlider.cpp index 8d28acf8b..eaf75c254 100644 --- a/src/slic3r/GUI/DoubleSlider.cpp +++ b/src/slic3r/GUI/DoubleSlider.cpp @@ -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() ?