Update new panels when they are created.
[dcpomatic.git] / src / wx / audio_panel.cc
index 88eae5141b66f5f9dba363da59f46f015be5cf9e..31998f936ce317448b261355d876ff8d441773ba 100644 (file)
@@ -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));