Skip to content
Snippets Groups Projects
Commit d97aabcf authored by Anthony Léonard's avatar Anthony Léonard
Browse files

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
parent 16c11f39
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,8 @@ WizardDialog::WizardDialog(WizardMode wizardMode, Account* toBeMigrated, QWidget ...@@ -57,7 +57,8 @@ WizardDialog::WizardDialog(WizardMode wizardMode, Account* toBeMigrated, QWidget
if (wizardMode_ == MIGRATION) { if (wizardMode_ == MIGRATION) {
ui->stackedWidget->setCurrentIndex(1); ui->stackedWidget->setCurrentIndex(1);
ui->usernameEdit->hide(); ui->usernameEdit->setEnabled(false);
ui->usernameEdit->setText(toBeMigrated->displayName());
ui->previousButton->hide(); ui->previousButton->hide();
ui->avatarButton->hide(); ui->avatarButton->hide();
ui->pinEdit->hide(); ui->pinEdit->hide();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment