0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-23 08:29:07 +03:00

Font editor has been fixed

This commit is contained in:
Arin Alexander
2019-07-04 20:41:58 +03:00
parent a2d74f8204
commit afcdee3e24
2 changed files with 11 additions and 6 deletions

View File

@@ -140,19 +140,24 @@ void FontEditorWidget::slotPropertyChanged(const QString &objectName, const QStr
void FontEditorWidgetForPage::slotFontChanged(const QFont& font)
{
m_page->setFont(font);
if (!ignoreSlots())
m_page->setFont(font);
}
void FontEditorWidgetForPage::slotFontSizeChanged(const QString& value)
{
FontEditorWidget::slotFontSizeChanged(value);
m_page->setFont(resFont());
if (!ignoreSlots()){
FontEditorWidget::slotFontSizeChanged(value);
m_page->setFont(resFont());
}
}
void FontEditorWidgetForPage::slotFontAttribsChanged(bool value)
{
FontEditorWidget::slotFontAttribsChanged(value);
m_page->setFont(resFont());
if (!ignoreSlots()){
FontEditorWidget::slotFontAttribsChanged(value);
m_page->setFont(resFont());
}
}
#ifdef HAVE_REPORT_DESIGNER