]> git.lyx.org Git - lyx.git/commitdiff
Add forgotten replacement
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 22 Mar 2019 10:25:20 +0000 (11:25 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 22 Mar 2019 10:25:20 +0000 (11:25 +0100)
src/frontends/qt4/GuiLyXFiles.cpp

index ab633de864d3d91076c326eea5e1b5c117916a79..9b92de2d89baacae21eb88e7c8d53eb6660b006e 100644 (file)
@@ -42,7 +42,8 @@ namespace {
 
 QString const guiString(QString in)
 {
-       return in.replace("%26", "&").replace("%28", "(").replace("%29", ")");
+       // recode specially encoded chars in file names
+       return in.replace('_', ' ').replace("%26", "&").replace("%28", "(").replace("%29", ")");
 }
 
 } // namespace anon