Skip to content

Commit 196d13c

Browse files
committed
Auto DJ: don't try to reenable when orientation changes
Signed-off-by: Owen Williams <owilliams@mixxx.org>
1 parent 9c97da2 commit 196d13c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/library/autodj/autodjprocessor.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,10 +1711,9 @@ void AutoDJProcessor::playerOrientationChanged(DeckAttributes* pAttributes) {
17111711
}
17121712

17131713
if (m_eState != ADJ_DISABLED) {
1714-
// Disable and Enable auto DJ. We will likely fail to enable auto DJ
1715-
// but that will pop up an error to explain the situation to the user.
1714+
// Disable auto DJ and emit the error explaining that we no longer have two valid decks.
17161715
toggleAutoDJ(false);
1717-
toggleAutoDJ(true);
1716+
emit autoDJError(ADJ_NOT_TWO_DECKS);
17181717
}
17191718
}
17201719

0 commit comments

Comments
 (0)