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