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:
Pranmya Joshi authored and GitHub committed 2026-01-09 13:42:24 -05:00
1 parent 18973351de
commit 6bd8360261
1 file changed
+1 -1
+1 -1
View File
@@ -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());
}
}