Fix compilation.
--HG-- branch : develop
This commit is contained in:
parent
615decb625
commit
3ae5b3d99a
|
@ -386,12 +386,6 @@ void DialogEditWrongFormula::resizeEvent(QResizeEvent *event)
|
||||||
void DialogEditWrongFormula::SetFormula(const QString &value)
|
void DialogEditWrongFormula::SetFormula(const QString &value)
|
||||||
{
|
{
|
||||||
formula = qApp->TrVars()->FormulaToUser(value, qApp->Settings()->GetOsSeparator());
|
formula = qApp->TrVars()->FormulaToUser(value, qApp->Settings()->GetOsSeparator());
|
||||||
// increase height if needed. TODO : see if I can get the max number of caracters in one line
|
|
||||||
// of this PlainTextEdit to change 80 to this value
|
|
||||||
if (formula.length() > 80)
|
|
||||||
{
|
|
||||||
this->DeployFormulaTextEdit();
|
|
||||||
}
|
|
||||||
ui->plainTextEditFormula->setPlainText(formula);
|
ui->plainTextEditFormula->setPlainText(formula);
|
||||||
MoveCursorToEnd(ui->plainTextEditFormula);
|
MoveCursorToEnd(ui->plainTextEditFormula);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user