Fix update of gain control from gain calculator dialog.
authorCarl Hetherington <cth@carlh.net>
Thu, 17 Apr 2014 09:14:56 +0000 (10:14 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 17 Apr 2014 09:14:56 +0000 (10:14 +0100)
src/wx/audio_panel.cc

index 0838fa8abb9a7a9241470db621091a3297169d1a..1c679d336c003fc7404f64ddff9b55cc88d46eec 100644 (file)
@@ -166,7 +166,7 @@ AudioPanel::gain_calculate_button_clicked ()
        /* This appears to be necessary, as the change is not signalled,
           I think.
        */
-       _gain->update_from_model ();
+       _gain->view_changed ();
        
        d->Destroy ();
 }