diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-10 22:12:57 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-10 22:12:57 +0000 |
| commit | 1f8b61e4d89622c9087c8c49ea988ad1c903f64e (patch) | |
| tree | e0c70d22c774eeeec87a71919e609c9df53029ed /src/wx/content_panel.cc | |
| parent | f0957fd41d1915b8046dc0c2aeb662e1e8c288c7 (diff) | |
Fix another crash on close.
Diffstat (limited to 'src/wx/content_panel.cc')
| -rw-r--r-- | src/wx/content_panel.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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) film_changed (Film::CONTENT); film_changed (Film::AUDIO_CHANNELS); - check_selection (); + + if (_film) { + check_selection (); + } + setup_sensitivity (); } |
