]> git.lyx.org Git - lyx.git/blobdiff - src/Format.cpp
GuiTabular.cpp: fix bug #8084
[lyx.git] / src / Format.cpp
index 4b6e134941d012cec2b4e09b4c05266fb0edfdfe..f031b6806d42562838a242e422e0fecb905ba1e8 100644 (file)
@@ -388,7 +388,7 @@ string Formats::getFormatFromFile(FileName const & filename) const
                                        filename.toFilesystemEncoding().c_str());
                                mime = token(mime, ';', 0);
                                // we need our own ps/eps detection
-                               if (mime != "application/postscript") {
+                               if ((mime != "application/postscript") && (mime != "text/plain")) {
                                        Formats::const_iterator cit =
                                                find_if(formatlist.begin(), formatlist.end(),
                                                        FormatMimeEqual(mime));