]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiShowFile.cpp
Handle correctly zero table special arguments.
[lyx.git] / src / frontends / qt4 / GuiShowFile.cpp
index c2a4360b2fca7ff0b4f42ce9cb553ebaad23b297..8dc7a98df1f3b6b4597564b3d14b19af439c745f 100644 (file)
@@ -40,7 +40,7 @@ GuiShowFile::GuiShowFile(GuiView & lv)
 
 void GuiShowFile::updateContents()
 {
-       setWindowTitle(onlyFilename(toqstr(filename_.absFilename())));
+       setWindowTitle(onlyFileName(toqstr(filename_.absFileName())));
 
        QString contents = toqstr(filename_.fileContents("UTF-8"));
        if (contents.isEmpty())