From 381ef73b84ca6b14867f1bca9d5fb92a1c39e090 Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Fri, 12 Aug 2016 22:01:07 +0300 Subject: [PATCH] Text item changing font in preview window has been fixed --- limereport/items/editors/lrfonteditorwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/limereport/items/editors/lrfonteditorwidget.cpp b/limereport/items/editors/lrfonteditorwidget.cpp index 812c5a9..a2d7dbc 100644 --- a/limereport/items/editors/lrfonteditorwidget.cpp +++ b/limereport/items/editors/lrfonteditorwidget.cpp @@ -122,6 +122,7 @@ void FontEditorWidget::updateValues(const QFont& font) void FontEditorWidget::slotFontChanged(const QFont &font) { if (reportEditor() && !m_ignoreSlots) reportEditor()->setFont(font); + if (page()) page()->setFont(font); } void FontEditorWidget::slotFontSizeChanged(const QString &value)