+2014-06-27 Carl Hetherington <cth@carlh.net>
+
+ * Fix up/down buttons in content list.
+
2014-06-26 Carl Hetherington <cth@carlh.net>
* Version 1.70.0 released.
setup_dcp_name ();
} else if (property == ContentProperty::PATH) {
setup_content ();
+ } else if (property == ContentProperty::POSITION) {
+ setup_content ();
}
}
_content->DeleteAllItems ();
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 ();
if (!valid) {
s = _("MISSING: ") + s;
}
-
+
_content->InsertItem (t, std_to_wx (s));
if ((*i)->summary() == selected_summary) {