summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/audio_panel.cc2
1 files changed, 1 insertions, 1 deletions
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.