preview: when displaying from stored text, set the type to text/plain for plaintorich()

This commit is contained in:
Jean-Francois Dockes 2020-07-16 13:29:42 +02:00
parent 3948f9bd33
commit 9a241f92a1

View File

@ -737,6 +737,7 @@ bool Preview::loadDocInCurrentTab(const Rcl::Doc &idoc, int docnum)
if (!loadok) {
QMessageBox::warning(0,"Recoll",tr("Could not fetch stored text"));
}
lthr.fdoc.mimetype = "text/plain";
}
if (!loadok) {