mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-23 13:47:24 +01:00
emit property change for "collect" on a TransportMaster
This commit is contained in:
parent
ba37a6bd36
commit
b9d8f75119
1 changed files with 10 additions and 1 deletions
|
|
@ -170,7 +170,16 @@ TransportMaster::check_collect()
|
|||
void
|
||||
TransportMaster::set_collect (bool yn)
|
||||
{
|
||||
_pending_collect = yn;
|
||||
/* theoretical race condition */
|
||||
|
||||
if (_connected) {
|
||||
_pending_collect = yn;
|
||||
} else {
|
||||
if (_collect != yn) {
|
||||
_pending_collect = _collect = yn;
|
||||
PropertyChanged (Properties::collect);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue