diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-12-12 00:30:33 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-12-12 00:30:33 +0000 |
| commit | 3c414bf90d4cfcfe342c0b057b5134f72485fe32 (patch) | |
| tree | 543e3635577f04a58f1dc252fa0b888a4daeb005 /src/wx/content_menu.cc | |
| parent | f851a375fc5bb9095def34c05a61f69e33139426 (diff) | |
Fix content properties (#1428).
Diffstat (limited to 'src/wx/content_menu.cc')
| -rw-r--r-- | src/wx/content_menu.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index 017d2c659..19c54abcc 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -415,7 +415,9 @@ ContentMenu::ov () void ContentMenu::properties () { - ContentPropertiesDialog* d = new ContentPropertiesDialog (_parent, _content.front ()); + shared_ptr<Film> film = _film.lock (); + DCPOMATIC_ASSERT (film); + ContentPropertiesDialog* d = new ContentPropertiesDialog (_parent, film, _content.front()); d->ShowModal (); d->Destroy (); } |
