summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-10-11 17:02:57 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-10-11 17:02:57 +0000
commit5f88eeb157b061978d665efa6a7d8ac5118e6753 (patch)
tree1bf7f298568d9d59323ffde41fe45f7ec5f07d99 /gtk2_ardour/route_ui.cc
parent08c036568f8adf5bb3092deba933456cad7d1253 (diff)
test another fix for solo-press-crashes
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3929 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r--gtk2_ardour/route_ui.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index a529403f37..842e06953e 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -88,6 +88,8 @@ RouteUI::init ()
rec_enable_button = manage (new BindableToggleButton (0, ""));
rec_enable_button->set_name ("RecordEnableButton");
rec_enable_button->set_self_managed (true);
+
+ _session.SoloChanged.connect (mem_fun(*this, &RouteUI::solo_changed_so_update_mute));
}
void
@@ -131,11 +133,6 @@ RouteUI::set_button_names (const char* mute, const char* solo, const char* rec)
void
RouteUI::set_route (boost::shared_ptr<Route> rp)
{
- if (!_route) {
- /* first time it is set */
- _session.SoloChanged.connect (mem_fun(*this, &RouteUI::solo_changed_so_update_mute));
- }
-
reset ();
_route = rp;