update track-header width when removing track(s).

This commit is contained in:
Robin Gareus 2014-08-31 22:54:43 +02:00
parent 7d7b787a28
commit 4718def3c4
2 changed files with 2 additions and 0 deletions

View File

@ -6613,6 +6613,7 @@ edit your ardour.rc file to set the\n\
{
Session::StateProtector sp (_session);
DisplaySuspender ds;
for (vector<boost::shared_ptr<Route> >::iterator x = routes.begin(); x != routes.end(); ++x) {
_session->remove_route (*x);
}

View File

@ -1577,6 +1577,7 @@ edit your ardour.rc file to set the\n\
gint
RouteUI::idle_remove_this_route (RouteUI *rui)
{
DisplaySuspender ds;
rui->_session->remove_route (rui->route());
return false;
}