mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
fix #5025 part 2
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:
parent
cbeabee870
commit
7e8d5ed6d0
2 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ EditorSummary::EditorSummary (Editor* e)
|
||||||
_old_follow_playhead (false)
|
_old_follow_playhead (false)
|
||||||
{
|
{
|
||||||
Region::RegionPropertyChanged.connect (region_property_connection, invalidator (*this), boost::bind (&CairoWidget::set_dirty, this), gui_context());
|
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());
|
_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);
|
add_events (Gdk::POINTER_MOTION_MASK|Gdk::KEY_PRESS_MASK|Gdk::KEY_RELEASE_MASK|Gdk::ENTER_NOTIFY_MASK|Gdk::LEAVE_NOTIFY_MASK);
|
||||||
|
|
|
||||||
|
|
@ -122,6 +122,7 @@ private:
|
||||||
bool _old_follow_playhead;
|
bool _old_follow_playhead;
|
||||||
|
|
||||||
PBD::ScopedConnectionList position_connection;
|
PBD::ScopedConnectionList position_connection;
|
||||||
|
PBD::ScopedConnection route_ctrl_id_connection;
|
||||||
PBD::ScopedConnectionList region_property_connection;
|
PBD::ScopedConnectionList region_property_connection;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue