X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Faudio_panel.cc;h=31998f936ce317448b261355d876ff8d441773ba;hp=88eae5141b66f5f9dba363da59f46f015be5cf9e;hb=7d81ed516d246b5d1387f5bf1019237c5c7a8d2b;hpb=f217913a609e67f3dd0b804e2b961dcbd8556e63 diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc index 88eae5141..31998f936 100644 --- a/src/wx/audio_panel.cc +++ b/src/wx/audio_panel.cc @@ -119,6 +119,8 @@ AudioPanel::AudioPanel (ContentPanel* p) _gain->wrapped()->SetIncrement (0.5); _delay->wrapped()->SetRange (-1000, 1000); + content_selection_changed (); + _reference->Bind (wxEVT_CHECKBOX, boost::bind (&AudioPanel::reference_clicked, this)); _show->Bind (wxEVT_BUTTON, boost::bind (&AudioPanel::show_clicked, this)); _gain_calculate_button->Bind (wxEVT_BUTTON, boost::bind (&AudioPanel::gain_calculate_button_clicked, this));