From 2673ddc8aab1b25590c18b4054d5d96e80f59842 Mon Sep 17 00:00:00 2001 From: ronso0 Date: Sun, 17 Mar 2024 15:18:08 +0100 Subject: [PATCH] AutoDJ: reset of UI toggle if enable is rejected due to playing decks 3/4 --- src/library/autodj/autodjprocessor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/library/autodj/autodjprocessor.cpp b/src/library/autodj/autodjprocessor.cpp index 27ea9b216a3..fe632109e5b 100644 --- a/src/library/autodj/autodjprocessor.cpp +++ b/src/library/autodj/autodjprocessor.cpp @@ -403,6 +403,7 @@ AutoDJProcessor::AutoDJError AutoDJProcessor::toggleAutoDJ(bool enable) { for (int i = 2; i < m_decks.length(); ++i) { if (m_decks[i] && m_decks[i]->isPlaying()) { // Keep the current state. + emitAutoDJStateChanged(m_eState); emit autoDJError(ADJ_DECKS_3_4_PLAYING); return ADJ_DECKS_3_4_PLAYING; }