diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-05 00:47:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-05 23:52:14 +0100 |
| commit | 58ec6491cf182f3c314aaa0b2b2968838c286809 (patch) | |
| tree | 19e4418059995e61794cf5a9736536dfd6e2408d /src | |
| parent | e61cc4ff73a82ef0a6575ca5a6f960e1577af480 (diff) | |
Report content as having missing files also if there are missing fonts.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/content_menu.cc | 2 | ||||
| -rw-r--r-- | src/wx/content_panel.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index dadd1877f..e9d51faf8 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -155,7 +155,7 @@ ContentMenu::popup (weak_ptr<Film> film, ContentList c, TimelineContentViewList _join->Enable (n > 1); - _find_missing->Enable(_content.size() == 1 && !paths_exist(_content.front()->paths())); + _find_missing->Enable(_content.size() == 1 && (!paths_exist(_content.front()->paths()) || !paths_exist(_content.front()->font_paths()))); _properties->Enable (_content.size() == 1); _advanced->Enable (_content.size() == 1); _re_examine->Enable (!_content.empty ()); diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 826481216..4727cc971 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -896,7 +896,7 @@ ContentPanel::setup () vector<ContentListCtrl::Item> items; for (auto i: content) { - bool const valid = paths_exist(i->paths()); + bool const valid = paths_exist(i->paths()) && paths_exist(i->font_paths()); auto dcp = dynamic_pointer_cast<DCPContent> (i); bool const needs_kdm = dcp && dcp->needs_kdm (); |
