+void
+SwaroopControls::deselect_playlist ()
+{
+ long int const selected = _spl_view->GetNextItem (-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
+ if (selected != -1) {
+ _selected_playlist = boost::none;
+ _spl_view->SetItemState (selected, 0, wxLIST_STATE_SELECTED);
+ }
+ ResetFilm (shared_ptr<Film>(new Film(optional<boost::filesystem::path>())));
+}
+