mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
276f411ad2
commit
68122b40ac
|
@ -55,9 +55,15 @@ void LoginScreen::reset()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (profiles.isEmpty())
|
if (profiles.isEmpty())
|
||||||
|
{
|
||||||
ui->stackedWidget->setCurrentIndex(0);
|
ui->stackedWidget->setCurrentIndex(0);
|
||||||
|
ui->newUsername->setFocus();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
ui->stackedWidget->setCurrentIndex(1);
|
ui->stackedWidget->setCurrentIndex(1);
|
||||||
|
ui->loginPassword->setFocus();
|
||||||
|
}
|
||||||
|
|
||||||
ui->autoLoginCB->setChecked(Settings::getInstance().getAutoLogin());
|
ui->autoLoginCB->setChecked(Settings::getInstance().getAutoLogin());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user