From 81d4b8bd4293b4d3f130c443a609f2936634d2bb Mon Sep 17 00:00:00 2001 From: Robert Jonsson Date: Mon, 4 Feb 2013 18:22:33 +0000 Subject: fixed gain adjustment in wave editor --- muse2/ChangeLog | 2 ++ muse2/muse/waveedit/editgain.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'muse2') 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); -- cgit v1.2.3