Double clicking a song ends pause

This commit is contained in:
Carl Philipp Klemm 2026-03-25 17:48:21 +01:00
parent 9e0b8b4197
commit 6ef8591769

View file

@ -311,6 +311,7 @@ void MainWindow::on_songListView_doubleClicked(const QModelIndex &index)
if (index.column() == 0)
{
isPaused = false;
if (isPlaying)
{
audioPlayer->stop();
@ -318,8 +319,8 @@ void MainWindow::on_songListView_doubleClicked(const QModelIndex &index)
else
{
isPlaying = true;
updateControls();
}
updateControls();
flushGenerationQueue();
ui->nowPlayingLabel->setText("Now Playing: Waiting for generation...");