Commit 72ad3bb5 authored by Vadim Rutkovsky's avatar Vadim Rutkovsky

playlist: update playlists outside of the main thread

parent af16e5f2
......@@ -1085,7 +1085,7 @@ class Playlist(ViewContainer):
playlist = self.playlists_model.get_value(_iter, 5)
if str(playlist_id) == playlist.get_id() and self.current_playlist == playlist:
path = self.playlists_model.get_path(_iter)
self._on_playlist_activated(None, None, path)
GLib.idle_add(self._on_playlist_activated, None, None, path)
break
_iter = self.playlists_model.iter_next(_iter)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment