diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-15 22:25:39 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-22 23:26:18 +0000 |
| commit | 620b7761a33d2e3641cd911bfe58e0fbb928c888 (patch) | |
| tree | 702872826fdfefa486816a1e20a1e2e4f2bad965 /src/wx/controls.cc | |
| parent | 1b4d5951147bc88d771d0afaa98bbfa4ed85a822 (diff) | |
Fix content list in player.
Diffstat (limited to 'src/wx/controls.cc')
| -rw-r--r-- | src/wx/controls.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc index 8f1d5abda..2d28077e1 100644 --- a/src/wx/controls.cc +++ b/src/wx/controls.cc @@ -42,6 +42,7 @@ using std::string; using std::list; +using std::cout; using std::make_pair; using std::exception; using boost::optional; @@ -195,7 +196,6 @@ Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor film_changed (); setup_sensitivity (); - _content_view->update (); update_playlist_directory (); JobManager::instance()->ActiveJobsChanged.connect ( @@ -554,6 +554,9 @@ Controls::film_changed () if (_film) { _film->Change.connect (boost::bind (&Controls::film_change, this, _1, _2)); } + + _content_view->set_film (film); + _content_view->update (); } shared_ptr<Film> |
