summaryrefslogtreecommitdiff
path: root/src/wx/audio_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-19 14:01:14 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-19 14:01:14 +0100
commit7d81ed516d246b5d1387f5bf1019237c5c7a8d2b (patch)
tree1cb650da7e385dc0869518376e9bbfc8ead90e87 /src/wx/audio_panel.cc
parentf217913a609e67f3dd0b804e2b961dcbd8556e63 (diff)
Update new panels when they are created.
Diffstat (limited to 'src/wx/audio_panel.cc')
-rw-r--r--src/wx/audio_panel.cc2
1 files changed, 2 insertions, 0 deletions
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));