Fix initial display of things.
authorCarl Hetherington <cth@carlh.net>
Sat, 13 Jul 2013 12:26:34 +0000 (13:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 13 Jul 2013 12:26:34 +0000 (13:26 +0100)
src/wx/film_editor.cc

index 7e13261aed2dacc9835e460480bd2cd49af2a6f8..7ef18165f25fd70d9f7c8950acb191bf3d7f89eb 100644 (file)
@@ -869,10 +869,10 @@ FilmEditor::set_film (shared_ptr<Film> f)
 
        if (!_film->content().empty ()) {
                set_selection (_film->content().front ());
-       } else {
-               wxListEvent ev;
-               content_selection_changed (ev);
        }
+
+       wxListEvent ev;
+       content_selection_changed (ev);
 }
 
 /** Updates the sensitivity of lots of widgets to a given value.