1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

Fix for bug #786

This commit is contained in:
lllucius 2014-12-04 08:01:58 +00:00
parent 9c1d3b0214
commit b7257c9420

View File

@ -163,7 +163,7 @@ bool LabelTrack::Clear(double b, double e)
} else if (relation == LabelStruct::ENDS_IN_LABEL) {
mLabels[i]->selectedRegion.setTimes(
b,
mLabels[i]->getT1() - (e - mLabels[i]->getT0()));
mLabels[i]->getT1() - (e - b));
} else if (relation == LabelStruct::BEGINS_IN_LABEL) {
mLabels[i]->selectedRegion.setT1(b);
} else if (relation == LabelStruct::WITHIN_LABEL) {