* @brief Updates content of cbCategory based on current collection. */
| 310 | * @brief Updates content of cbCategory based on current collection. |
| 311 | */ |
| 312 | void DatasetMetadataManagerWidget::updateCategories(const QString& collection) { |
| 313 | ui.cbCategory->clear(); |
| 314 | if (m_datasetModel->collections().contains(collection)) |
| 315 | ui.cbCategory->addItems(m_datasetModel->categories(collection)); |
| 316 | |
| 317 | Q_EMIT checkOk(); |
| 318 | } |
| 319 | |
| 320 | /** |
| 321 | * @brief Updates content of cbSubcategory based on current category. |
nothing calls this directly
no test coverage detected