diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-06-22 17:45:17 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-06-22 17:45:17 +0200 |
| commit | c9c1b5e7edce7f7fd531b448323c3b2b2f5c7e65 (patch) | |
| tree | 804cfc0c6ff6e42abf3c093b57e1533ec17e6252 /src/tools/dcpomatic.cc | |
| parent | ba0d572dc4e2f8c22b921bb64cd25a5b27d8f3a5 (diff) | |
Avoid virtual call to set_film() in constructor (#2571).
Diffstat (limited to 'src/tools/dcpomatic.cc')
| -rw-r--r-- | src/tools/dcpomatic.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index d6b6bc2b7..fc568d737 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -388,6 +388,7 @@ public: left_panel->SetSizerAndFit(left_sizer); _controls = new StandardControls(_right_panel, _film_viewer, true); + _controls->set_film(_film_viewer.film()); auto job_manager_view = new JobManagerView(_right_panel, false); auto right_sizer = new wxBoxSizer (wxVERTICAL); |
