Text item changing font in preview window has been fixed

This commit is contained in:
Arin Alex 2016-08-12 22:01:07 +03:00
parent 0a2d906a89
commit 381ef73b84

View File

@ -122,6 +122,7 @@ void FontEditorWidget::updateValues(const QFont& font)
void FontEditorWidget::slotFontChanged(const QFont &font) void FontEditorWidget::slotFontChanged(const QFont &font)
{ {
if (reportEditor() && !m_ignoreSlots) reportEditor()->setFont(font); if (reportEditor() && !m_ignoreSlots) reportEditor()->setFont(font);
if (page()) page()->setFont(font);
} }
void FontEditorWidget::slotFontSizeChanged(const QString &value) void FontEditorWidget::slotFontSizeChanged(const QString &value)