preview: when displaying from stored text, set the type to text/plain for plaintorich()
This commit is contained in:
parent
3948f9bd33
commit
9a241f92a1
@ -737,6 +737,7 @@ bool Preview::loadDocInCurrentTab(const Rcl::Doc &idoc, int docnum)
|
|||||||
if (!loadok) {
|
if (!loadok) {
|
||||||
QMessageBox::warning(0,"Recoll",tr("Could not fetch stored text"));
|
QMessageBox::warning(0,"Recoll",tr("Could not fetch stored text"));
|
||||||
}
|
}
|
||||||
|
lthr.fdoc.mimetype = "text/plain";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!loadok) {
|
if (!loadok) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user