Focus the password line edit by default.

This commit is contained in:
Felix Geyer 2012-04-22 20:57:42 +02:00
parent d8fcc43bc3
commit f9abf2171b
2 changed files with 11 additions and 0 deletions

View File

@ -55,6 +55,8 @@ DatabaseOpenDialog::DatabaseOpenDialog(QFile* file, QString filename, QWidget* p
m_ui->checkKeyFile->setChecked(true);
m_ui->comboKeyFile->addItem(lastKeyFiles[m_filename].toString());
}
m_ui->editPassword->setFocus();
}
DatabaseOpenDialog::~DatabaseOpenDialog()

View File

@ -88,6 +88,15 @@
</item>
</layout>
</widget>
<tabstops>
<tabstop>checkPassword</tabstop>
<tabstop>editPassword</tabstop>
<tabstop>buttonTogglePassword</tabstop>
<tabstop>checkKeyFile</tabstop>
<tabstop>comboKeyFile</tabstop>
<tabstop>buttonBrowseFile</tabstop>
<tabstop>buttonBox</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>