mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-20 21:29:01 -04:00
Fix Start page password focus.
And readd "log in" button.
This commit is contained in:
parent
11708c8a34
commit
6ffae36242
2 changed files with 29 additions and 13 deletions
|
@ -73,13 +73,16 @@ StartDialog::StartDialog(QWidget *parent)
|
|||
}
|
||||
}
|
||||
|
||||
QObject::connect(ui.loadName,SIGNAL(currentIndexChanged(int)),this,SLOT(updateSelectedProfile(int))) ;
|
||||
QObject::connect(ui.password_input,SIGNAL(returnPressed()),this,SLOT(loadPerson())) ;
|
||||
QObject::connect(ui.loadName,SIGNAL(currentIndexChanged(int)),this,SLOT(updateSelectedProfile(int))) ;
|
||||
QObject::connect(ui.password_input,SIGNAL(returnPressed()),this,SLOT(loadPerson())) ;
|
||||
QObject::connect(ui.loadButton, SIGNAL(clicked()), this, SLOT(loadPerson()));
|
||||
|
||||
if (pidx > 0)
|
||||
{
|
||||
ui.loadName->setCurrentIndex(pidx);
|
||||
}
|
||||
|
||||
ui.password_input->setFocus();
|
||||
}
|
||||
|
||||
void StartDialog::updateSelectedProfile(int)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue