| 221 | } |
| 222 | |
| 223 | CurveDescriptor FilterEditorPanel::originalInputOf(const CurveDescriptor& descriptor) const { |
| 224 | if (session_ != nullptr && catalog_ != nullptr) { |
| 225 | if (const auto* recipe = session_->dataProcessorService().filterConfig(descriptor.topic_id)) { |
| 226 | const QString input_key = curveKey(recipe->dataset_id, recipe->input_topic_id, recipe->input_column_index); |
| 227 | if (const auto input = catalog_->curveDescriptor(input_key); input.has_value()) { |
| 228 | return *input; |
| 229 | } |
| 230 | } |
| 231 | } |
| 232 | return descriptor; |
| 233 | } |
| 234 | |
| 235 | void FilterEditorPanel::populateSources() { |
| 236 | ui_->series_list->setSelectionMode(QAbstractItemView::ExtendedSelection); |
nothing calls this directly
no test coverage detected