mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-22 13:02:10 -04:00
Disable 'Cancel' button on ChangeMasterKeyWidget when setting an initial password for a new database, follow-up to #302
This commit is contained in:
parent
daf0b72eed
commit
6dcb83f913
5 changed files with 10 additions and 3 deletions
|
@ -136,3 +136,8 @@ void ChangeMasterKeyWidget::reject()
|
|||
{
|
||||
Q_EMIT editFinished(false);
|
||||
}
|
||||
|
||||
void ChangeMasterKeyWidget::setCancelEnabled(bool enabled)
|
||||
{
|
||||
m_ui->buttonBox->button(QDialogButtonBox::Cancel)->setEnabled(enabled);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue