13
0

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:
Paul Davis 2022-10-25 12:51:08 -06:00
parent 621e0f4f91
commit b0c162879d

View File

@ -1245,7 +1245,9 @@ MidiModel::write_to (boost::shared_ptr<MidiSource> source,
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;
}