summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-09-15 20:07:32 +0100
committerCarl Hetherington <cth@carlh.net>2012-09-15 20:07:32 +0100
commit6ed5c351e6097731904a3196f4ca31aaf3bec0a7 (patch)
tree209fa47e6c4ee6ed79ab54433cf66d0cf03b8e61 /src
parentbfecc8e56b657b57b5a496ef38cbf52d9120547e (diff)
Update the audio gain when it has been changed by the Calculate dialog.
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_editor.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index f35996644..c8ef0f233 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -654,5 +654,12 @@ FilmEditor::audio_gain_calculate_button_clicked (wxCommandEvent &)
d->actual_fader ()
)
);
+
+ /* This appears to be necessary, as the change is not signalled,
+ I think.
+ */
+ wxCommandEvent dummy;
+ audio_gain_changed (dummy);
+
d->Destroy ();
}