X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetinclude.C;h=36d745ffaab50d50390a14dbced97131035e6018;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=c53a8330a9d6b29b1acbbedee9f99c034bd41fdb;hpb=979fdf74564c6cbbb832090b8f9c8f84532b8f54;p=lyx.git diff --git a/src/insets/insetinclude.C b/src/insets/insetinclude.C index c53a8330a9..36d745ffaa 100644 --- a/src/insets/insetinclude.C +++ b/src/insets/insetinclude.C @@ -318,8 +318,7 @@ docstring const InsetInclude::getScreenLabel(Buffer const &) const if (params_["filename"].empty()) temp += "???"; else - // FIXME: We don't know the encoding of the filename - temp += from_ascii(onlyFilename(to_utf8(params_["filename"]))); + temp += from_utf8(onlyFilename(to_utf8(params_["filename"]))); return temp; }