summaryrefslogtreecommitdiff
path: root/src/wx/fonts_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/fonts_dialog.cc')
-rw-r--r--src/wx/fonts_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/fonts_dialog.cc b/src/wx/fonts_dialog.cc
index a035a5ffc..f2c9de5cb 100644
--- a/src/wx/fonts_dialog.cc
+++ b/src/wx/fonts_dialog.cc
@@ -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;
}