diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_viewer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index f2f6ba23d..2416c6776 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -410,7 +410,8 @@ FilmViewer::player_changed (bool frequent) void FilmViewer::setup_sensitivity () { - bool const c = !_film->content().empty (); + bool const c = _film && !_film->content().empty (); + _slider->Enable (c); _back_button->Enable (c); _forward_button->Enable (c); |
