diff --git a/src/engine/channels/enginechannel.cpp b/src/engine/channels/enginechannel.cpp index 5602f04a9c4..75ffcbb24c2 100644 --- a/src/engine/channels/enginechannel.cpp +++ b/src/engine/channels/enginechannel.cpp @@ -23,10 +23,11 @@ EngineChannel::EngineChannel(const ChannelHandleAndGroup& handleGroup, m_pMainMix = new ControlPushButton(ConfigKey(getGroup(), "main_mix")); m_pMainMix->setButtonMode(ControlPushButton::POWERWINDOW); m_pMainMix->addAlias(ConfigKey(getGroup(), QStringLiteral("master"))); - m_pOrientation = new ControlPushButton(ConfigKey(getGroup(), "orientation")); + // crossfader assignment is persistent + m_pOrientation = new ControlPushButton( + ConfigKey(getGroup(), "orientation"), true, defaultOrientation); m_pOrientation->setButtonMode(ControlPushButton::TOGGLE); m_pOrientation->setStates(3); - m_pOrientation->set(defaultOrientation); m_pOrientationLeft = new ControlPushButton(ConfigKey(getGroup(), "orientation_left")); connect(m_pOrientationLeft, &ControlObject::valueChanged, this, &EngineChannel::slotOrientationLeft, Qt::DirectConnection);