From 173fc4c4ca837cbea881efc361604b82806a1807 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 7 Jul 2018 01:20:40 +0100 Subject: Fix (odd) crash. --- src/wx/film_viewer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 9f42aaad2..1e615da6f 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -462,7 +462,7 @@ FilmViewer::panel_sized (wxSizeEvent& ev) void FilmViewer::calculate_sizes () { - if (!_film) { + if (!_film || !_player) { return; } -- cgit v1.2.3