diff --git a/libraries/lib-label-track/LabelTrack.cpp b/libraries/lib-label-track/LabelTrack.cpp index 123a1511d..534973530 100644 --- a/libraries/lib-label-track/LabelTrack.cpp +++ b/libraries/lib-label-track/LabelTrack.cpp @@ -523,8 +523,11 @@ LabelStruct LabelStruct::Import(wxTextFile &file, int &index, LabelFormat format // Labels in audacity should be only one line, so join multiple lines // with spaces. This is not reversed on export. while (index < (int)file.GetLineCount() && - !file.GetLine(index).IsEmpty()) + !file.GetLine(index).IsEmpty()) + { title += " " + file.GetLine(index); + index++; + } index++; // Skip over empty line