1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 14:18:53 +02:00

Fix for bug 1464: In label editor, displayed track names wrong after remove

In LabelDialog::OnRemove, displayed name of track was incorrectly being removed
when a label (and not any track) was being removed.
This commit is contained in:
David Bailes 2016-08-01 12:11:40 +01:00
parent 5c0b1831ce
commit 0569572d1b

View File

@ -563,7 +563,6 @@ void LabelDialog::OnRemove(wxCommandEvent & WXUNUSED(event))
// Remove the row
RowData &rd = mData[row];
mTrackNames.RemoveAt(rd.index);
mData.erase(mData.begin() + row);
// Repopulate the grid