mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-25 00:50:04 -05:00
Reset focus when opening database settings, edit entry and edit group widget.
This commit is contained in:
parent
f7bdeefbe3
commit
5ce9b5da78
@ -45,6 +45,8 @@ void DatabaseSettingsWidget::setForms(QString dbName, QString dbDescription,
|
||||
m_ui->recycleBinEnabledCheckBox->setCheckState(Qt::Unchecked);
|
||||
}
|
||||
m_ui->transformRoundsSpinBox->setValue(transformRounds);
|
||||
|
||||
m_ui->dbNameEdit->setFocus();
|
||||
}
|
||||
|
||||
quint64 DatabaseSettingsWidget::transformRounds()
|
||||
|
@ -119,6 +119,8 @@ void EditEntryWidget::loadEntry(Entry* entry, bool create, const QString& groupN
|
||||
m_attachmentsModel->setEntryAttachments(m_entryAttachments);
|
||||
|
||||
m_ui->categoryList->setCurrentRow(0);
|
||||
|
||||
m_mainUi->titleEdit->setFocus();
|
||||
}
|
||||
|
||||
void EditEntryWidget::saveEntry()
|
||||
|
@ -51,6 +51,8 @@ void EditGroupWidget::loadGroup(Group* group, bool create)
|
||||
|
||||
m_ui->editName->setText(m_group->name());
|
||||
m_ui->editNotes->setPlainText(m_group->notes());
|
||||
|
||||
m_ui->editName->setFocus();
|
||||
}
|
||||
|
||||
void EditGroupWidget::save()
|
||||
|
Loading…
x
Reference in New Issue
Block a user