diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | src/wx/film_editor.cc | 5 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2015-06-15 Carl Hetherington <cth@carlh.net> + + * Select newly-added content (#455). + 2015-06-14 Carl Hetherington <cth@carlh.net> * Version 2.1.3 released. 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 |
