From d97aabcfb70aa05e048cab8b466bb8c998afd465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anthony=20L=C3=A9onard?= <anthony.leonard@savoirfairelinux.com> Date: Thu, 27 Oct 2016 11:53:42 -0400 Subject: [PATCH] ui: show the name of the account being migrated When multiple accounts need to be migrated, it's better to know which one is being processed when chosing a password. Change-Id: I29703b48e6892e97bc096f7f8ad4199eacb90a8f --- wizarddialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wizarddialog.cpp b/wizarddialog.cpp index d14efda..4cb9918 100644 --- a/wizarddialog.cpp +++ b/wizarddialog.cpp @@ -57,7 +57,8 @@ WizardDialog::WizardDialog(WizardMode wizardMode, Account* toBeMigrated, QWidget if (wizardMode_ == MIGRATION) { ui->stackedWidget->setCurrentIndex(1); - ui->usernameEdit->hide(); + ui->usernameEdit->setEnabled(false); + ui->usernameEdit->setText(toBeMigrated->displayName()); ui->previousButton->hide(); ui->avatarButton->hide(); ui->pinEdit->hide(); -- GitLab