diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-09-09 22:38:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-09-09 22:38:37 +0100 |
| commit | 6b05486d6d8a099c0623da2b84fb1478e842d8d5 (patch) | |
| tree | a503b5d28d1bb52de2cda752010628d39ac42cb3 /src | |
| parent | 39029279954b1f346d3ba28ec12c58211bfa7436 (diff) | |
Fix update of film content list when loading films from the command line.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/content_panel.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 991080e59..b4b9f13da 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -342,6 +342,8 @@ void ContentPanel::set_film (shared_ptr<Film> f) { _film = f; + + film_changed (Film::CONTENT); selection_changed (); } @@ -423,7 +425,7 @@ ContentPanel::setup () ContentList content = _film->content (); sort (content.begin(), content.end(), ContentSorter ()); - + for (ContentList::iterator i = content.begin(); i != content.end(); ++i) { int const t = _content->GetItemCount (); bool const valid = (*i)->paths_valid (); |
