Focus the password line edit on switch to change master key widget.

This commit is contained in:
Florian Geyer 2012-04-23 00:18:10 +02:00 committed by Felix Geyer
parent f28f868671
commit b3ddfca2bd
2 changed files with 13 additions and 0 deletions

View File

@ -54,6 +54,8 @@ void ChangeMasterKeyWidget::clearForms()
m_ui->keyFileGroup->setChecked(false);
m_ui->togglePasswordButton->setChecked(true);
// TODO clear m_ui->keyFileCombo
m_ui->enterPasswordEdit->setFocus();
}
CompositeKey ChangeMasterKeyWidget::newMasterKey()

View File

@ -151,6 +151,17 @@
</item>
</layout>
</widget>
<tabstops>
<tabstop>passwordGroup</tabstop>
<tabstop>enterPasswordEdit</tabstop>
<tabstop>repeatPasswordEdit</tabstop>
<tabstop>togglePasswordButton</tabstop>
<tabstop>keyFileGroup</tabstop>
<tabstop>keyFileCombo</tabstop>
<tabstop>browseKeyFileButton</tabstop>
<tabstop>createKeyFileButton</tabstop>
<tabstop>buttonBox</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>