0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-01-11 17:18:10 +03:00

misprint has been fixed

This commit is contained in:
Arin Alexander 2017-02-28 23:22:48 +03:00
parent a2c93601d0
commit 6c9b408723

View File

@ -101,7 +101,7 @@ void TextItem::preparePopUpMenu(QMenu &menu)
action->setCheckable(true); action->setCheckable(true);
action->setChecked(allowHTMLInFields()); action->setChecked(allowHTMLInFields());
action = menu.addAction(tr("Strethc to max height")); action = menu.addAction(tr("Stretch to max height"));
action->setCheckable(true); action->setCheckable(true);
action->setChecked(stretchToMaxHeight()); action->setChecked(stretchToMaxHeight());
@ -121,7 +121,7 @@ void TextItem::processPopUpAction(QAction *action)
if (action->text().compare(tr("Allow HTML in fields")) == 0){ if (action->text().compare(tr("Allow HTML in fields")) == 0){
setProperty("allowHTMLInFields",action->isChecked()); setProperty("allowHTMLInFields",action->isChecked());
} }
if (action->text().compare(tr("Strethc to max height")) == 0){ if (action->text().compare(tr("Stretch to max height")) == 0){
setProperty("stretchToMaxHeight",action->isChecked()); setProperty("stretchToMaxHeight",action->isChecked());
} }
} }