X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_editor.cc;h=82fae2e9bdbb69f732754d2fe9e1c4feba1e58de;hb=5dce250808e2371fdbd3e2f21511e789454b788f;hp=bbfafa8c5595900a15df507036cfa88ec9c6e454;hpb=b6aa4eaa6e4335c3b5a7144c0ab126eb8dbe94ec;p=dcpomatic.git diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index bbfafa8c5..82fae2e9b 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -74,6 +74,11 @@ FilmEditor::film_changed (Film::Property p) _content_panel->film_changed (p); _dcp_panel->film_changed (p); + + if (p == Film::CONTENT && !_film->content().empty ()) { + /* Select newly-added content */ + _content_panel->set_selection (_film->content().back ()); + } } void