From e813a01e149d4b75155a68dba1e5158060bce2b5 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sat, 14 Aug 2021 18:29:29 +0100 Subject: [PATCH] Improve track info box --- app/playlists.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/playlists.py b/app/playlists.py index 74da96e..5ac8943 100644 --- a/app/playlists.py +++ b/app/playlists.py @@ -617,12 +617,12 @@ class PlaylistTab(QTableWidget): if not track: txt = f"Track not found (track.id={id})" else: - txt = f""" -Title: {track.title} -Artist: {track.artist} -Path: {track.path} -Track ID: {track.id} - """ + txt = ( + f"Title: {track.title}\n" + f"Artist: {track.artist}\n" + f"Path: {track.path}\n" + f"Track ID: {track.id}" + ) info = QMessageBox(self) info.setIcon(QMessageBox.Information) info.setText(txt)