Skip to content

Commit

Permalink
Fix stopped ambience updating the music label when it shouldn't (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
in1tiate authored May 9, 2024
1 parent d680a6a commit f2cf702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aomusicplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ QString AOMusicPlayer::play(QString p_song, int channel, bool loop,
QString p_song_clear = QUrl(p_song).fileName();
p_song_clear = p_song_clear.left(p_song_clear.lastIndexOf('.'));

if (is_stop) {
if (is_stop && channel == 0) { // don't send text on channels besides 0
return QObject::tr("None");
}

Expand Down

0 comments on commit f2cf702

Please sign in to comment.