From: Carl Hetherington Date: Thu, 10 Jan 2019 22:12:57 +0000 (+0000) Subject: Fix another crash on close. X-Git-Tag: v2.13.98~4 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=1f8b61e4d89622c9087c8c49ea988ad1c903f64e;p=dcpomatic.git Fix another crash on close. --- diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 318a344f2..b9d682e4d 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -589,7 +589,11 @@ ContentPanel::set_film (shared_ptr film) film_changed (Film::CONTENT); film_changed (Film::AUDIO_CHANNELS); - check_selection (); + + if (_film) { + check_selection (); + } + setup_sensitivity (); }