diff options
author | Robin Gareus <robin@gareus.org> | 2013-07-10 21:40:42 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-07-10 21:40:42 +0200 |
commit | fc367f9b210c45c7492ceaaf7d3f43cbf06308d9 (patch) | |
tree | 944d93a3d2493ecb1083d12036161932dc95b6a5 /gtk2_ardour/mixer_ui.cc | |
parent | 92494b89655fabc2e886ac18376cc8a775d2e87f (diff) |
save width of mixer-strip when changing _all_ strips
Diffstat (limited to 'gtk2_ardour/mixer_ui.cc')
-rw-r--r-- | gtk2_ardour/mixer_ui.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index e3a97daa6f..f206014eea 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -1477,12 +1477,12 @@ Mixer_UI::strip_scroller_button_release (GdkEventButton* ev) } void -Mixer_UI::set_strip_width (Width w) +Mixer_UI::set_strip_width (Width w, bool save) { _strip_width = w; for (list<MixerStrip*>::iterator i = strips.begin(); i != strips.end(); ++i) { - (*i)->set_width_enum (w, this); + (*i)->set_width_enum (w, save ? (*i)->width_owner() : this); } } |