Rename dialog text is now preselected (#1635)

This commit is contained in:
fcasal 2019-07-03 07:52:06 +01:00 committed by xarkes
parent 65587d6166
commit 2ac1455642

View File

@ -25,6 +25,7 @@ void RenameDialog::on_buttonBox_rejected()
void RenameDialog::setName(QString fcnName) void RenameDialog::setName(QString fcnName)
{ {
ui->nameEdit->setText(fcnName); ui->nameEdit->setText(fcnName);
ui->nameEdit->selectAll();
} }
QString RenameDialog::getName() const QString RenameDialog::getName() const