mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
Fix: Disable 'Remove' button in Plugin Data when no row is selected (#12916)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Some checks failed
CodeQL / Analyze (push) Has been cancelled
* Fix: Disable Remove button in Plugin Data when no row is selected
This commit is contained in:
parent
18973351de
commit
6bd8360261
1 changed files with 1 additions and 1 deletions
|
|
@ -116,6 +116,6 @@ void EditWidgetProperties::update()
|
|||
m_customDataModel->appendRow(QList<QStandardItem*>()
|
||||
<< new QStandardItem(key) << new QStandardItem(m_customData->value(key)));
|
||||
}
|
||||
m_ui->removeCustomDataButton->setEnabled(!m_customData->isEmpty());
|
||||
m_ui->removeCustomDataButton->setEnabled(m_ui->customDataTable->selectionModel()->hasSelection());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue