0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-25 09:04: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) void FontEditorWidgetForDesigner::slotFontSizeChanged(const QString& value)
{ {
FontEditorWidget::slotFontSizeChanged(value); if (!ignoreSlots()){
m_reportEditor->setFont(resFont()); FontEditorWidget::slotFontSizeChanged(value);
m_reportEditor->setFont(resFont());
}
} }
void FontEditorWidgetForDesigner::slotFontAttribsChanged(bool value) void FontEditorWidgetForDesigner::slotFontAttribsChanged(bool value)
{ {
FontEditorWidget::slotFontAttribsChanged(value); if (!ignoreSlots()){
m_reportEditor->setFont(resFont()); FontEditorWidget::slotFontAttribsChanged(value);
m_reportEditor->setFont(resFont());
}
} }
#endif #endif