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:
parent
e157a84c2b
commit
99ee7d7b61
@ -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 ("");
|
||||
|
Loading…
Reference in New Issue
Block a user