You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def __check_current(self, model, path, iter):
model, citer = self.__selected_playlists()
if citer and model.get_path(citer) == path:
songlist = qltk.get_top_parent(self).songlist
self.activate(resort=not songlist.is_sorted())
Not running it seems to fix #2253 for me, but I noticed at least one thing that breaks:
I am in the playlist browser (ctrl+2), and have a playlist selected. If I drag and drop a track to the playlist I am in from the tracklist in the playlist (so to add a duplicate track), the playlist does not update with the new track until I select a different playlist.
Other than that I have not noticed anything that breaks.
__check_current (only?) seems to be called as a result of the signal row-changed.
The text was updated successfully, but these errors were encountered:
Meriipu
changed the title
(Question) purpose of playlists/main.py: __check_current
(Question) purpose of browsers/playlists/main.py: __check_current
Jun 21, 2017
I have no idea how it could be changed though.
If the only thing that breaks is that the playlist is not reloaded when it grows (or shrinks?) then maybe an extra check for whether the playlist actually grew or shrunk, or a separate callback for that and removing this.
I am not very into gtk concepts like signals, eventsl and updates at all though.
declension
changed the title
(Question) purpose of browsers/playlists/main.py: __check_current
Clarify purpose of browsers/playlists/main.py: __check_current
Jun 22, 2017
In browsers/playlists/main.py, what does the method __check_current do (or rather, what is its purpose) ?
https://github.com/quodlibet/quodlibet/blob/master/quodlibet/quodlibet/browsers/playlists/main.py#L304
Not running it seems to fix #2253 for me, but I noticed at least one thing that breaks:
I am in the playlist browser (ctrl+2), and have a playlist selected. If I drag and drop a track to the playlist I am in from the tracklist in the playlist (so to add a duplicate track), the playlist does not update with the new track until I select a different playlist.
Other than that I have not noticed anything that breaks.
__check_current (only?) seems to be called as a result of the signal row-changed.
The text was updated successfully, but these errors were encountered: