diff options
author | Carl Hetherington <carl@carlh.net> | 2011-01-30 13:24:41 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-01-30 13:24:41 +0000 |
commit | 66c9e166f8bb99bf4619edc79fe6720514cc2faa (patch) | |
tree | 50abec90d5f88ff793c8ec63815f8bbd968ff1fe /gtk2_ardour/editor.cc | |
parent | f784343e0770af311d7c5d61f48fe745936012bf (diff) |
Update summary when a region is removed.
git-svn-id: svn://localhost/ardour2/branches/3.0@8622 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index cdbbb59105..864e2eab27 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4815,6 +4815,12 @@ Editor::region_view_added (RegionView *) _summary->set_dirty (); } +void +Editor::region_view_removed () +{ + _summary->set_dirty (); +} + TimeAxisView* Editor::axis_view_from_route (boost::shared_ptr<Route> r) const { @@ -4880,6 +4886,7 @@ Editor::handle_new_route (RouteList& routes) rtv->effective_gain_display (); rtv->view()->RegionViewAdded.connect (sigc::mem_fun (*this, &Editor::region_view_added)); + rtv->view()->RegionViewRemoved.connect (sigc::mem_fun (*this, &Editor::region_view_removed)); } _routes->routes_added (new_views); |