projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3902927
)
Fix update of film content list when loading films from the command line.
author
Carl Hetherington
<cth@carlh.net>
Tue, 9 Sep 2014 21:38:37 +0000
(22:38 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 9 Sep 2014 21:38:37 +0000
(22:38 +0100)
src/wx/content_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index 991080e590f059e123ca443333d4dd1e26b03886..b4b9f13da51f9193bff49b3eeaf5ec99e1d8d012 100644
(file)
--- 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 ();