mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-08 23:12:52 -04:00
Show a busy cursor while doing master key transformations.
This commit is contained in:
parent
3a2f387892
commit
886187baee
4 changed files with 11 additions and 1 deletions
|
@ -83,7 +83,11 @@ void DatabaseSettingsWidget::save()
|
|||
meta->setDescription(m_ui->dbDescriptionEdit->text());
|
||||
meta->setDefaultUserName(m_ui->defaultUsernameEdit->text());
|
||||
meta->setRecycleBinEnabled(m_ui->recycleBinEnabledCheckBox->isChecked());
|
||||
m_db->setTransformRounds(m_ui->transformRoundsSpinBox->value());
|
||||
if (static_cast<quint64>(m_ui->transformRoundsSpinBox->value()) != m_db->transformRounds()) {
|
||||
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
|
||||
m_db->setTransformRounds(m_ui->transformRoundsSpinBox->value());
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
|
||||
bool truncate = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue