mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Move many declarations into LabelTrackView & define its Copy()
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "Project.h"
|
||||
#include "ProjectWindow.h"
|
||||
#include "ViewInfo.h"
|
||||
#include "tracks/labeltrack/ui/LabelTrackView.h"
|
||||
#include "widgets/AudacityMessageBox.h"
|
||||
#include "widgets/ErrorDialog.h"
|
||||
#include "widgets/Grid.h"
|
||||
@@ -421,7 +422,7 @@ bool LabelDialog::TransferDataFromWindow()
|
||||
|
||||
// Add the label to it
|
||||
lt->AddLabel(rd.selectedRegion, rd.title);
|
||||
lt->Unselect();
|
||||
LabelTrackView::Get( *lt ).SetSelectedIndex( -1 );
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user