mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Bug 305 - Analysis effects produce false indication that a label is open for editing
This was true of any Nyquist or VAMP effect that created labels.
This commit is contained in:
@@ -380,7 +380,7 @@ bool LabelDialog::TransferDataFromWindow()
|
||||
return false;
|
||||
|
||||
// Add the label to it
|
||||
static_cast<LabelTrack *>(t)->AddLabel(rd.selectedRegion, rd.title);
|
||||
static_cast<LabelTrack *>(t)->AddLabel(rd.selectedRegion, rd.title,-2);
|
||||
static_cast<LabelTrack *>(t)->Unselect();
|
||||
}
|
||||
|
||||
@@ -682,7 +682,7 @@ void LabelDialog::OnExport(wxCommandEvent & WXUNUSED(event))
|
||||
for (i = 0; i < cnt; i++) {
|
||||
RowData &rd = mData[i];
|
||||
|
||||
lt->AddLabel(rd.selectedRegion, rd.title);
|
||||
lt->AddLabel(rd.selectedRegion, rd.title,-2);
|
||||
}
|
||||
|
||||
// Export them and clean
|
||||
|
||||
Reference in New Issue
Block a user