diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-17 15:55:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-17 15:55:31 +0100 |
| commit | aedc1d5c8db3a77bd6b2cbba8461ce8df5c9ae39 (patch) | |
| tree | bb1878744f980be7c3ed2ef0994259018f13bbef /src/tools | |
| parent | b62341601bd2c7022ea1c60bf06d3d8d11bf667f (diff) | |
Fix initial display of a new piece of content.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index a4e4e8b75..5df513921 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -149,7 +149,7 @@ set_menu_sensitivity () ++i; } bool const dcp_creation = (i != jobs.end ()); - bool const have_dcp = !film->dcps().empty (); + bool const have_dcp = film && !film->dcps().empty (); for (map<wxMenuItem*, int>::iterator j = menu_items.begin(); j != menu_items.end(); ++j) { |
