Remove strange update_playlist_directory() on setting film; that made the
_spl_view behave strangely since on selection all its contents were deleted
and re-created.
Disable _spl_view during playback.
_pause_button->Enable (c && (!_current_kind || _current_kind != dcp::ADVERTISEMENT) && _viewer->playing());
_stop_button->Enable (c && (!_current_kind || _current_kind != dcp::ADVERTISEMENT));
_slider->Enable (c && (!_current_kind || _current_kind != dcp::ADVERTISEMENT) && !_current_disable_timeline);
+ _spl_view->Enable (!_viewer->playing());
}
void
SwaroopControls::set_film (shared_ptr<Film> film)
{
Controls::set_film (film);
- update_playlist_directory ();
setup_sensitivity ();
}