summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/wx/film_editor.cc5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 064cf751f..688e933b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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