mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
MCP: Fix issue with strip "select" buttons that stayed stuck on.
* Depending on individual strips to watch the selection property is prone to failure. * Stripable_selection_changed() is called when a selection operation is completed.
This commit is contained in:
parent
60cc2823f3
commit
d3738b087e
5 changed files with 25 additions and 5 deletions
|
|
@ -938,6 +938,15 @@ Surface::write (const MidiByteArray& data)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
Surface::update_strip_selection ()
|
||||
{
|
||||
Strips::iterator s = strips.begin();
|
||||
for ( ; s != strips.end(); ++s) {
|
||||
(*s)->update_selection_state();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Surface::map_stripables (const vector<boost::shared_ptr<Stripable> >& stripables)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue