diff --git a/src/musikcube/app/layout/MainLayout.cpp b/src/musikcube/app/layout/MainLayout.cpp index de2d0379f..56d42c438 100755 --- a/src/musikcube/app/layout/MainLayout.cpp +++ b/src/musikcube/app/layout/MainLayout.cpp @@ -291,6 +291,10 @@ void MainLayout::OnLibraryConnectionStateChanged(ILibrary::ConnectionState state { this->SwitchToLibraryLayout(); } + + if (state == ILibrary::ConnectionState::Disconnected) { + this->playback.Stop(); + } } void MainLayout::OnIndexerStarted() {