From b42c7c962510f6087c626d4d70dc2784d486b418 Mon Sep 17 00:00:00 2001 From: SO9010 Date: Sat, 24 Aug 2024 17:32:55 +0100 Subject: [PATCH] Fix mistake --- psst-gui/src/controller/playback.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psst-gui/src/controller/playback.rs b/psst-gui/src/controller/playback.rs index 3988db9d..2c9a7353 100644 --- a/psst-gui/src/controller/playback.rs +++ b/psst-gui/src/controller/playback.rs @@ -357,7 +357,7 @@ where Event::Command(cmd) if cmd.is(cmd::PLAYBACK_PLAYING) => { let (item, progress) = cmd.get_unchecked(cmd::PLAYBACK_PLAYING); - if !data.added_queue.is_empty() && data.playback.now_playing.as_mut().is_some_and(|np| { + if !data.displayed_added_queue.is_empty() && data.playback.now_playing.as_mut().is_some_and(|np| { np.origin.to_string() == data.added_queue[0].origin.to_string() }) {