mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-21 17:41:53 -08:00
Disable 'Cancel' button on ChangeMasterKeyWidget when setting an initial password for a new database, follow-up to #302
This commit is contained in:
1 parent
daf0b72eed
commit
6dcb83f913
5 files changed
+10
-3
No files matched your search
@@ -136,3 +136,8 @@ void ChangeMasterKeyWidget::reject()
|
||||
{
|
||||
Q_EMIT editFinished(false);
|
||||
}
|
||||
|
||||
void ChangeMasterKeyWidget::setCancelEnabled(bool enabled)
|
||||
{
|
||||
m_ui->buttonBox->button(QDialogButtonBox::Cancel)->setEnabled(enabled);
|
||||
}
|
||||
Reference in new issue
Block a user