mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-03 23:32:33 -08:00
Fix: Disable 'Remove' button in Plugin Data when no row is selected (#12916)
* Fix: Disable Remove button in Plugin Data when no row is selected
This commit is contained in:
1 parent
18973351de
commit
6bd8360261
1 file changed
+1
-1
@@ -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());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user