summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_ui.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-08-30 00:40:48 +0000
committerCarl Hetherington <carl@carlh.net>2009-08-30 00:40:48 +0000
commit1aa38f074f6dfaec52edd9be5a0421a82e39a7fb (patch)
tree7fb1a673cb9ffbab56804828b65e6bd01b43ccf4 /gtk2_ardour/mixer_ui.cc
parent95c4046ff90404cc4bc2ae54dde9e61188fd9a65 (diff)
Don't setup panner UI unless it has changed.
git-svn-id: svn://localhost/ardour2/branches/3.0@5606 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_ui.cc')
-rw-r--r--gtk2_ardour/mixer_ui.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc
index 16f3089825..37cc14b8b0 100644
--- a/gtk2_ardour/mixer_ui.cc
+++ b/gtk2_ardour/mixer_ui.cc
@@ -311,14 +311,12 @@ Mixer_UI::add_strip (RouteList& routes)
if (route->is_hidden()) {
return;
}
-
+
strip = new MixerStrip (*this, *session, route);
strips.push_back (strip);
Config->get_default_narrow_ms() ? _strip_width = Narrow : _strip_width = Wide;
- Config->get_default_narrow_ms() ? _strip_width = Narrow : _strip_width = Wide;
-
if (strip->width_owner() != strip) {
strip->set_width_enum (_strip_width, this);
}