Clear current track header at end of track
This commit is contained in:
parent
1c9c82cc1c
commit
f54955c43a
@ -413,6 +413,7 @@ class Window(QMainWindow, Ui_MainWindow):
|
|||||||
self.frame_silent.setStyleSheet("")
|
self.frame_silent.setStyleSheet("")
|
||||||
self.playing = False
|
self.playing = False
|
||||||
self.previous_track = self.current_track
|
self.previous_track = self.current_track
|
||||||
|
self.current_track = None
|
||||||
self.previous_track_position = 0
|
self.previous_track_position = 0
|
||||||
self.current_playlist().stopped_playing()
|
self.current_playlist().stopped_playing()
|
||||||
self.update_headers()
|
self.update_headers()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user