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 | |
parent | f118ed0cfca8ab717b87e1f00459199acba80bb9 (diff) |
fixed gain adjustment in wave editor
-rw-r--r-- | muse2/ChangeLog | 2 | ||||
-rw-r--r-- | muse2/muse/waveedit/editgain.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog index 73585573..e24fbbeb 100644 --- a/muse2/ChangeLog +++ b/muse2/ChangeLog @@ -1,3 +1,5 @@ +04.02.2013: + - Fixed gain adjustment with 'Other' choice in wave editor, it was reversed (rj) 02.02.2013: * Solved: "Old style" Drums: Track channel/port re-enabled, drum list columns default to them. (Tim...) The drum list port and channel columns are now blank by default until overriden by user. 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); |