mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-07 01:24:05 +01:00
Bug1437 again -- don't mess up the counting
This commit is contained in:
@@ -334,8 +334,8 @@ bool LabelDialog::TransferDataFromWindow()
|
||||
|
||||
// Clear label tracks of labels
|
||||
for (t = iter.First(); t; t = iter.Next()) {
|
||||
++tndx;
|
||||
if (t->GetKind() == Track::Label) {
|
||||
++tndx;
|
||||
LabelTrack *lt = static_cast<LabelTrack*>(t);
|
||||
if (!mSelectedTrack) {
|
||||
for (i = lt->GetNumLabels() - 1; i >= 0 ; i--) {
|
||||
|
||||
Reference in New Issue
Block a user