diff options
author | Robert Jonsson <spamatica@gmail.com> | 2013-02-04 18:22:33 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2013-02-04 18:22:33 +0000 |
commit | 81d4b8bd4293b4d3f130c443a609f2936634d2bb (patch) | |
tree | b03734cdd8d1a15e2479906ebff5426b933dde87 /muse2/muse | |
parent | f118ed0cfca8ab717b87e1f00459199acba80bb9 (diff) |
fixed gain adjustment in wave editor
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/waveedit/editgain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/waveedit/editgain.cpp b/muse2/muse/waveedit/editgain.cpp index 5738f21d..2b27f8e1 100644 --- a/muse2/muse/waveedit/editgain.cpp +++ b/muse2/muse/waveedit/editgain.cpp @@ -94,7 +94,7 @@ void EditGain::cancelPressed() */ void EditGain::gainChanged(int value) { - gain = sliderGain->maximum() - value; + gain = value; if (sliderGain->value() != 100) { buttonReset->setEnabled(true); buttonApply->setEnabled(true); |