1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-19 17:28:09 +01:00

Use currently selected timeformat (in SelectionBar) as default for Label dialog

This commit is contained in:
lllucius@gmail.com
2011-01-25 04:50:02 +00:00
parent 337695ee19
commit 7d889359c5
3 changed files with 11 additions and 5 deletions

View File

@@ -94,7 +94,8 @@ LabelDialog::LabelDialog(wxWindow *parent,
DirManager *dirmanager,
TrackList *tracks,
ViewInfo &viewinfo,
double rate)
double rate,
const wxString & format)
: wxDialog(parent,
wxID_ANY,
_("Edit Labels"),
@@ -104,7 +105,8 @@ LabelDialog::LabelDialog(wxWindow *parent,
mDirManager(dirmanager),
mTracks(tracks),
mViewInfo(&viewinfo),
mRate(rate)
mRate(rate),
mFormat(format)
{
// Create the main sizer
wxBoxSizer *vs = new wxBoxSizer(wxVERTICAL);