0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-25 00:54:39 +03:00

FontEditor has been fixed

This commit is contained in:
Arin Alexander 2018-01-14 21:33:15 +03:00
parent fa710d2dcf
commit d44a579e92

View File

@ -169,14 +169,18 @@ void FontEditorWidgetForDesigner::slotFontChanged(const QFont& font)
void FontEditorWidgetForDesigner::slotFontSizeChanged(const QString& value)
{
FontEditorWidget::slotFontSizeChanged(value);
m_reportEditor->setFont(resFont());
if (!ignoreSlots()){
FontEditorWidget::slotFontSizeChanged(value);
m_reportEditor->setFont(resFont());
}
}
void FontEditorWidgetForDesigner::slotFontAttribsChanged(bool value)
{
FontEditorWidget::slotFontAttribsChanged(value);
m_reportEditor->setFont(resFont());
if (!ignoreSlots()){
FontEditorWidget::slotFontAttribsChanged(value);
m_reportEditor->setFont(resFont());
}
}
#endif