mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Tweak logic in master-bus packing to make it clearer; will also minimize conflicts with Mixbus.
This commit is contained in:
parent
98d6fe9c91
commit
c4208411db
1 changed files with 6 additions and 6 deletions
|
|
@ -583,7 +583,12 @@ Mixer_UI::add_stripables (StripableList& slist)
|
|||
|
||||
show_strip (strip);
|
||||
|
||||
if (!route->is_master()) {
|
||||
if (route->is_master()) {
|
||||
|
||||
out_packer.pack_start (*strip, false, false);
|
||||
strip->set_packed (true);
|
||||
|
||||
} else {
|
||||
|
||||
TreeModel::Row row = *(track_model->insert (insert_iter));
|
||||
|
||||
|
|
@ -591,11 +596,6 @@ Mixer_UI::add_stripables (StripableList& slist)
|
|||
row[stripable_columns.visible] = strip->marked_for_display();
|
||||
row[stripable_columns.stripable] = route;
|
||||
row[stripable_columns.strip] = strip;
|
||||
|
||||
} else {
|
||||
|
||||
out_packer.pack_start (*strip, false, false);
|
||||
strip->set_packed (true);
|
||||
}
|
||||
|
||||
strip->WidthChanged.connect (sigc::mem_fun(*this, &Mixer_UI::strip_width_changed));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue