diff --git a/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp b/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp index 2406529f1..7ec6b95ff 100644 --- a/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp +++ b/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp @@ -406,6 +406,7 @@ void DialogEditWrongFormula::SetFormula(const QString &value) formula = qApp->TrVars()->FormulaToUser(value, qApp->Settings()->GetOsSeparator()); ui->plainTextEditFormula->setPlainText(formula); MoveCursorToEnd(ui->plainTextEditFormula); + ui->plainTextEditFormula->selectAll(); } //---------------------------------------------------------------------------------------------------------------------