From 279cca55d187c7107bb5339c311f1f18e0a99fcf Mon Sep 17 00:00:00 2001 From: Levi Armstrong Date: Sat, 4 Jan 2025 22:50:56 -0600 Subject: [PATCH] Update task composer config loading --- planning/src/widgets/task_composer_widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planning/src/widgets/task_composer_widget.cpp b/planning/src/widgets/task_composer_widget.cpp index 1725bec..18a7ebf 100644 --- a/planning/src/widgets/task_composer_widget.cpp +++ b/planning/src/widgets/task_composer_widget.cpp @@ -307,7 +307,7 @@ bool TaskComposerWidget::eventFilter(QObject* obj, QEvent* event) auto resource = data_->resource_locator.locateResource(e->getResourcePath()); if (resource != nullptr) { - data_->task_composer_server.loadConfig(tesseract_common::fs::path(resource->getFilePath())); + data_->task_composer_server.loadConfig(tesseract_common::fs::path(resource->getFilePath()), *resource); ui->executor_combo_box->clear(); for (const auto& executor : data_->task_composer_server.getAvailableExecutors())