Fix last track going blank

Fixes: #68
This commit is contained in:
Keith Edmunds 2021-09-11 16:53:00 +01:00
parent d5d4361ec5
commit 8b641cd728

View File

@ -265,7 +265,8 @@ class Window(QMainWindow, Ui_MainWindow):
self.playing = False
# Clean up metadata
self.previous_track = self.current_track
if self.current_track:
self.previous_track = self.current_track
if self.current_track_playlist_tab:
self.current_track_playlist_tab.play_stopped()
self.current_track_playlist_tab.clear_current()