Commit 3388244a authored by Clément Stenac's avatar Clément Stenac

Put callbacks after rebuild, avoids deadlock in rebuild

parent 6fa4f0e1
......@@ -377,6 +377,9 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
return;
}
/* Update the playlist */
Rebuild();
/* We want to be noticed of playlist changes */
/* Some global changes happened -> Rebuild all */
......@@ -394,8 +397,6 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
vlc_object_release( p_playlist );
/* Update the playlist */
Rebuild();
}
Playlist::~Playlist()
......
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