Show the number of channels in brackets when there is a single invert button for multiple channels, as suggested by colinf (#4699).
git-svn-id: svn://localhost/ardour2/branches/3.0@11598 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ded5147dee
commit
f8b570db5e
@ -1766,7 +1766,11 @@ RouteUI::setup_invert_buttons ()
|
||||
|
||||
b->set_name (X_("mixer strip button"));
|
||||
if (to_add == 1) {
|
||||
b->set_text (X_("Ø"));
|
||||
if (N > 1) {
|
||||
b->set_text (string_compose (X_("Ø (%1)"), N));
|
||||
} else {
|
||||
b->set_text (X_("Ø"));
|
||||
}
|
||||
} else {
|
||||
b->set_text (string_compose (X_("Ø%1"), i + 1));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user