subscribe to route changes (track delete)

git-svn-id: svn://localhost/ardour2/branches/3.0@13494 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Robin Gareus 2012-11-14 05:01:28 +00:00
parent cbeabee870
commit 7e8d5ed6d0
2 changed files with 2 additions and 0 deletions

View 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);

View 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;
};