summaryrefslogtreecommitdiff
path: root/muse2/muse/songfile.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2013-05-08 08:52:52 +0000
committerTim E. Real <termtech@rogers.com>2013-05-08 08:52:52 +0000
commit2c1f2f49d2ac878c13f9c59d86166a62bbd7573d (patch)
tree96bb20b3f43823fa51cf49cfa25fae49f73882ce /muse2/muse/songfile.cpp
parent8a491e19e6520f2680bf51aec1ca7e2070ccaec7 (diff)
Yet another MAJOR audio engine and plugin/synth process chain re-write.
And much more, see ChangeLog, May 8 2013.
Diffstat (limited to 'muse2/muse/songfile.cpp')
-rw-r--r--muse2/muse/songfile.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/muse2/muse/songfile.cpp b/muse2/muse/songfile.cpp
index 90805175..b07d1243 100644
--- a/muse2/muse/songfile.cpp
+++ b/muse2/muse/songfile.cpp
@@ -1462,6 +1462,11 @@ void MusE::read(MusECore::Xml& xml, bool doReadMidiPorts, bool isTemplate)
{
MusEGlobal::song->read(xml, isTemplate);
MusEGlobal::audio->msgUpdateSoloStates();
+ // Inform the rest of the app that the song (may) have changed, using these flags.
+ // After this function is called, the caller can do a general Song::update() MINUS these flags,
+ // like in MusE::loadProjectFile1() - the only place calling so far, as of this writing.
+ // Some existing windows need this, like arranger, some don't which are dynamically created after this.
+ MusEGlobal::song->update(SC_TRACK_INSERTED);
}
else if (tag == "midiport")
readMidiport(xml);