mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
Fix focus in UsersPage.
This commit is contained in:
parent
6ff9fd4677
commit
fb37a0bf2f
2 changed files with 9 additions and 0 deletions
|
@ -127,6 +127,13 @@ UsersPage::createJobs( const QString& defaultUserGroup, const QStringList& defau
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
UsersPage::focusInEvent( QFocusEvent* e )
|
||||||
|
{
|
||||||
|
ui->textBoxFullName->setFocus();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
UsersPage::onFullNameTextEdited( const QString &textRef )
|
UsersPage::onFullNameTextEdited( const QString &textRef )
|
||||||
{
|
{
|
||||||
|
|
|
@ -42,6 +42,8 @@ public:
|
||||||
|
|
||||||
QList< Calamares::job_ptr > createJobs( const QString& defaultUserGroup,
|
QList< Calamares::job_ptr > createJobs( const QString& defaultUserGroup,
|
||||||
const QStringList& defaultGroupsList );
|
const QStringList& defaultGroupsList );
|
||||||
|
protected:
|
||||||
|
void focusInEvent( QFocusEvent* e ) override;
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
void onFullNameTextEdited( const QString& );
|
void onFullNameTextEdited( const QString& );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue