X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Faudio_panel.cc;h=5523d25393088196d88655581121b43f740c6522;hp=d066c11e25dd55aa7eae73d24f4e8b9f121b0bb0;hb=5d7ba3c7717288b13cb8b286474382580f3bdba9;hpb=886e0f9d08a241bef5baf328beb08a0d6996ae14 diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc index d066c11e2..5523d2539 100644 --- a/src/wx/audio_panel.cc +++ b/src/wx/audio_panel.cc @@ -258,7 +258,7 @@ AudioPanel::gain_calculate_button_clicked () return; } - _gain->wrapped()->SetValue (*c); + _gain->wrapped()->SetValue(_gain->wrapped()->GetValue() + *c); /* This appears to be necessary, as the change is not signalled, I think.