fix error with saving MIDI after forking MIDI region
when we save a MidiModel to a new MIDI source, that does not change the edited status of the Model.
This commit is contained in:
parent
621e0f4f91
commit
b0c162879d
@ -1245,7 +1245,9 @@ MidiModel::write_to (boost::shared_ptr<MidiSource> source,
|
|||||||
|
|
||||||
source->mark_streaming_write_completed(source_lock);
|
source->mark_streaming_write_completed(source_lock);
|
||||||
|
|
||||||
set_edited(false);
|
/* no call to set_edited() because writing to "newsrc" doesn't remove
|
||||||
|
* the need to write to "our own" source in ::sync_to_source()
|
||||||
|
*/
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user