Improve track info box

This commit is contained in:
Keith Edmunds 2021-08-14 18:29:29 +01:00
parent 72e3ef69ff
commit e813a01e14

View File

@ -617,12 +617,12 @@ class PlaylistTab(QTableWidget):
if not track: if not track:
txt = f"Track not found (track.id={id})" txt = f"Track not found (track.id={id})"
else: else:
txt = f""" txt = (
Title: {track.title} f"Title: {track.title}\n"
Artist: {track.artist} f"Artist: {track.artist}\n"
Path: {track.path} f"Path: {track.path}\n"
Track ID: {track.id} f"Track ID: {track.id}"
""" )
info = QMessageBox(self) info = QMessageBox(self)
info.setIcon(QMessageBox.Information) info.setIcon(QMessageBox.Information)
info.setText(txt) info.setText(txt)