1
0
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:
Paul Licameli
2019-06-20 09:15:33 -04:00
parent 604fbd0a2c
commit e3efd52026
14 changed files with 504 additions and 335 deletions

View File

@@ -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;