#16 If solo is enabled, the fader does not work anymore
This commit is contained in:
parent
2c443c7aef
commit
27c5f29b1a
1 changed files with 4 additions and 2 deletions
|
@ -191,8 +191,10 @@ void CChannelFader::SetFaderLevel ( const int iLevel )
|
||||||
void CChannelFader::SendFaderLevelToServer ( const int iLevel )
|
void CChannelFader::SendFaderLevelToServer ( const int iLevel )
|
||||||
{
|
{
|
||||||
// if mute flag is set or other channel is on solo, do not apply the new
|
// if mute flag is set or other channel is on solo, do not apply the new
|
||||||
// fader value
|
// fader value (exception: we are on solo, in that case we ignore the
|
||||||
if ( ( pcbMute->checkState() == Qt::Unchecked ) && !bOtherChannelIsSolo )
|
// "other channel is on solo" flag)
|
||||||
|
if ( ( pcbMute->checkState() == Qt::Unchecked ) &&
|
||||||
|
( !bOtherChannelIsSolo || IsSolo() ) )
|
||||||
{
|
{
|
||||||
// emit signal for new fader gain value
|
// emit signal for new fader gain value
|
||||||
emit gainValueChanged ( CalcFaderGain ( iLevel ) );
|
emit gainValueChanged ( CalcFaderGain ( iLevel ) );
|
||||||
|
|
Loading…
Reference in a new issue