Do not show anything in vertical slider if estimated times are missing
This commit is contained in:
parent
b2ab5db69b
commit
1ce8cddbda
@ -630,7 +630,7 @@ wxString Control::get_label(int tick, LabelType label_type/* = ltHeightWithLayer
|
|||||||
else {
|
else {
|
||||||
if (label_type == ltEstimatedTime) {
|
if (label_type == ltEstimatedTime) {
|
||||||
if (m_values.size() != m_layers_times.size())
|
if (m_values.size() != m_layers_times.size())
|
||||||
return "time";
|
return wxEmptyString;
|
||||||
return short_and_splitted_time(get_time_dhms(m_layers_times[value]));
|
return short_and_splitted_time(get_time_dhms(m_layers_times[value]));
|
||||||
}
|
}
|
||||||
wxString str = m_values.empty() ?
|
wxString str = m_values.empty() ?
|
||||||
|
Loading…
Reference in New Issue
Block a user