Use PBD::to_string from pbd/string_convert.h in MixerStrip class

The numeric formatting is equivalent. Even though this string is being used in
the UI as a label I think this is another case where we don't want a localized
numeric string, which would only be relevant with a track count >=1000.
This commit is contained in:
Tim Mayberry 2016-09-21 15:20:22 +10:00
parent e157a84c2b
commit 99ee7d7b61

View File

@ -1850,7 +1850,7 @@ MixerStrip::name_changed ()
if (track_number == 0) {
number_label.set_text ("-");
} else {
number_label.set_text (PBD::to_string (abs(_route->track_number ()), std::dec));
number_label.set_text (PBD::to_string (abs(_route->track_number ())));
}
} else {
number_label.set_text ("");