Fix audio analysis attempts with source files that have more channels than the film.
[dcpomatic.git] / src / wx / fonts_dialog.cc
index a035a5ffc53c981ad03910eec137158b6fce7caf..f2c9de5cb1c1cd673646678dd44327c59488c21b 100644 (file)
@@ -121,7 +121,7 @@ FontsDialog::setup ()
                _fonts->SetItem(n, 0, id);
                _fonts->SetItemData(n, i->id().empty());
                if (i->file()) {
-                       _fonts->SetItem(n, 1, i->file()->leaf().string());
+                       _fonts->SetItem(n, 1, i->file()->filename().string());
                }
                ++n;
        }