Remove double ampersand in last track header

This commit is contained in:
Keith Edmunds 2023-10-06 10:52:28 +01:00
parent f3a5ed2e72
commit 6d48bcc9d0

View File

@ -1784,8 +1784,7 @@ class Window(QMainWindow, Ui_MainWindow):
if self.previous_track.title and self.previous_track.artist:
self.hdrPreviousTrack.setText(
f"{self.previous_track.title.replace('&', '&&')} - "
f"{self.previous_track.artist.replace('&', '&&')}"
f"{self.previous_track.title} - {self.previous_track.artist}"
)
else:
self.hdrPreviousTrack.setText("")