Skip to content

Commit

Permalink
make decks' xfader assignment persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Oct 5, 2023
1 parent 17362a7 commit a3a7ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/channels/enginechannel.cpp
Expand Up @@ -23,10 +23,10 @@ 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);
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);
Expand Down

0 comments on commit a3a7ebb

Please sign in to comment.