RichResourceText QTextDocument should use parent widget's font

* Otherwise the hit-testing might be off
This commit is contained in:
baldurk
2019-08-27 18:51:57 +01:00
parent c18708cfd8
commit 21be21cb8f
+1
View File
@@ -152,6 +152,7 @@ struct RichResourceText
doc.setDocumentMargin(0);
doc.setHtml(html);
doc.setDefaultFont(widget->font());
if(doc.blockCount() != fragmentIndexFromBlockIndex.count())
{