Don't close when track playing; mark as played in playlist
This commit is contained in:
parent
c61df17dd5
commit
6496ea2ac4
@ -1209,7 +1209,7 @@ class Window(QMainWindow):
|
|||||||
for name, value in attributes_to_save.items():
|
for name, value in attributes_to_save.items():
|
||||||
ds.setting_set(name, value)
|
ds.setting_set(name, value)
|
||||||
|
|
||||||
event.accept()
|
event.accept()
|
||||||
|
|
||||||
# # # # # # # # # # Internal utility functions # # # # # # # # # #
|
# # # # # # # # # # Internal utility functions # # # # # # # # # #
|
||||||
|
|
||||||
|
|||||||
@ -168,6 +168,7 @@ class PlaylistRow:
|
|||||||
|
|
||||||
@played.setter
|
@played.setter
|
||||||
def played(self, value: bool) -> None:
|
def played(self, value: bool) -> None:
|
||||||
|
self.dto.played = True
|
||||||
ds.playlistrow_played(self.playlistrow_id, value)
|
ds.playlistrow_played(self.playlistrow_id, value)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user