mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-07 20:22:13 +01:00
Move writing and reading of common Track fields into functions...
... also now writing selected state of TimeTrack as for other tracks, fixing an omission, with no harm to forward compatibility
This commit is contained in:
@@ -498,8 +498,7 @@ void ProjectFileIO::WriteXML(
|
||||
xmlFile.WriteAttr(wxT("offset"), offset, 8);
|
||||
xmlFile.WriteAttr(wxT("mute"), pWaveTrack->GetMute());
|
||||
xmlFile.WriteAttr(wxT("solo"), pWaveTrack->GetSolo());
|
||||
xmlFile.WriteAttr(wxT("height"), pWaveTrack->GetActualHeight());
|
||||
xmlFile.WriteAttr(wxT("minimized"), pWaveTrack->GetMinimized());
|
||||
pWaveTrack->Track::WriteCommonXMLAttributes( xmlFile, false );
|
||||
|
||||
// Don't store "rate" tag because the importer can figure that out.
|
||||
// xmlFile.WriteAttr(wxT("rate"), pWaveTrack->GetRate());
|
||||
|
||||
Reference in New Issue
Block a user