1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Autofocus name edit in profileform

fixes #1364
This commit is contained in:
Dubslow 2015-03-11 22:00:54 -05:00
parent 561682645d
commit 50c1e09a5c
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA

View File

@ -130,6 +130,8 @@ void ProfileForm::show(Ui::MainWindow &ui)
ui.mainContent->layout()->addWidget(this);
head->show();
QWidget::show();
bodyUI->userName->setFocus(Qt::OtherFocusReason);
bodyUI->userName->selectAll();
}
void ProfileForm::copyIdClicked()