X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ffilm_editor.cc;h=545eaf56ea610f13099c3e25784373b78a97dbe9;hp=ce3791faa79d27351f54b92e701992f328c37dde;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hpb=f07d5125a7b609320682689abe40781f096ca25e diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index ce3791faa..545eaf56e 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -49,7 +49,7 @@ FilmEditor::FilmEditor (wxWindow* parent, FilmViewer* viewer) _main_notebook->AddPage (_content_panel->panel (), _("Content"), true); _dcp_panel = new DCPPanel (_main_notebook, _film); _main_notebook->AddPage (_dcp_panel->panel (), _("DCP"), false); - + JobManager::instance()->ActiveJobsChanged.connect ( bind (&FilmEditor::active_jobs_changed, this, _1) ); @@ -67,7 +67,7 @@ void FilmEditor::film_changed (Film::Property p) { ensure_ui_thread (); - + if (!_film) { return; } @@ -85,7 +85,7 @@ void FilmEditor::film_content_changed (int property) { ensure_ui_thread (); - + if (!_film) { /* We call this method ourselves (as well as using it as a signal handler) so _film can be 0. @@ -106,7 +106,7 @@ FilmEditor::set_film (shared_ptr film) if (_film == film) { return; } - + _film = film; _content_panel->set_film (_film);