re-check meterbridge metric-area on route deletion

fixes http://tracker.ardour.org/view.php?id=5616#c15204
This commit is contained in:
Robin Gareus 2013-08-01 03:17:49 +02:00
parent 4dc74ae2ea
commit ad8ffab544
2 changed files with 6 additions and 2 deletions

View File

@ -280,8 +280,10 @@ MeterStrip::MeterStrip (Session* sess, boost::shared_ptr<ARDOUR::Route> rt)
MeterStrip::~MeterStrip ()
{
delete level_meter;
CatchDeletion (this);
if (level_meter) {
delete level_meter;
CatchDeletion (this);
}
}
void

View File

@ -632,6 +632,8 @@ Meterbridge::remove_strip (MeterStrip* strip)
break;
}
}
resync_order();
}
void