Improve track info box
This commit is contained in:
parent
72e3ef69ff
commit
e813a01e14
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user