diff --git a/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp b/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp index ba8e195c0..de9ba7b49 100644 --- a/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp +++ b/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp @@ -386,12 +386,6 @@ void DialogEditWrongFormula::resizeEvent(QResizeEvent *event) void DialogEditWrongFormula::SetFormula(const QString &value) { 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); MoveCursorToEnd(ui->plainTextEditFormula); }