From 26578c0fbaa2b716c313b87afd8dbdb10053a054 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 12 Feb 2019 12:36:12 +0200 Subject: [PATCH] Select formula text in Formula Wizard to help user quickly override it. --HG-- branch : develop --- src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp | 1 + 1 file changed, 1 insertion(+) 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(); } //---------------------------------------------------------------------------------------------------------------------