From 5dce250808e2371fdbd3e2f21511e789454b788f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 15 Jun 2015 21:04:28 +0100 Subject: Select newly-added content (#455). --- src/wx/film_editor.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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 -- cgit v1.2.3