fix #5025 part 2
authorRobin Gareus <robin@gareus.org>
Wed, 14 Nov 2012 05:01:28 +0000 (05:01 +0000)
committerRobin Gareus <robin@gareus.org>
Wed, 14 Nov 2012 05:01:28 +0000 (05:01 +0000)
subscribe to route changes (track delete)

git-svn-id: svn://localhost/ardour2/branches/3.0@13494 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor_summary.cc
gtk2_ardour/editor_summary.h

index 0cf58cf8ae2c5ae27b9455e8bbc2dab9954b14cc..d86117a415f9d6340d15691d86a50fbe5d9c5e76 100644 (file)
@@ -55,6 +55,7 @@ EditorSummary::EditorSummary (Editor* e)
          _old_follow_playhead (false)
 {
        Region::RegionPropertyChanged.connect (region_property_connection, invalidator (*this), boost::bind (&CairoWidget::set_dirty, this), gui_context());
+       Route::RemoteControlIDChange.connect (route_ctrl_id_connection, invalidator (*this), boost::bind (&CairoWidget::set_dirty, this), gui_context());
        _editor->playhead_cursor->PositionChanged.connect (position_connection, invalidator (*this), boost::bind (&EditorSummary::playhead_position_changed, this, _1), gui_context());
 
        add_events (Gdk::POINTER_MOTION_MASK|Gdk::KEY_PRESS_MASK|Gdk::KEY_RELEASE_MASK|Gdk::ENTER_NOTIFY_MASK|Gdk::LEAVE_NOTIFY_MASK);
index c1afc3237f4fdfe615cedd7eb89b198932aec21b..f6aa804f59d86d6c41690b3abe0a31239d26a14f 100644 (file)
@@ -122,6 +122,7 @@ private:
        bool _old_follow_playhead;
 
        PBD::ScopedConnectionList position_connection;
+       PBD::ScopedConnection route_ctrl_id_connection;
        PBD::ScopedConnectionList region_property_connection;
 };